{"_id":"@dengorbachev/coda-js-client","_rev":"1-09cf1b464e4624bd8f98bd7cfcf97ac8","name":"@dengorbachev/coda-js-client","dist-tags":{"latest":"1.2.0"},"versions":{"1.2.0":{"name":"@dengorbachev/coda-js-client","version":"1.2.0","description":"Client library for Coda API (autogenerated)","license":"MIT","main":"src/index.js","scripts":{"test":"mocha --compilers js:babel-core/register --recursive"},"browser":{"fs":false},"dependencies":{"babel":"^6.23.0","babel-cli":"^6.26.0","superagent":"3.7.0"},"devDependencies":{"babel-core":"6.26.0","babel-plugin-transform-builtin-extend":"^1.1.2","babel-preset-env":"^1.6.1","babel-preset-stage-0":"^6.24.1","expect.js":"~0.3.1","mocha":"~2.3.4","sinon":"1.17.3"},"directories":{"doc":"docs","test":"test"},"repository":{"type":"git","url":"git+ssh://git@github.com/DenisGorbachev/coda-js-client.git"},"keywords":["coda"],"author":{"name":"Denis Gorbachev"},"bugs":{"url":"https://github.com/DenisGorbachev/coda-js-client/issues"},"homepage":"https://github.com/DenisGorbachev/coda-js-client#readme","gitHead":"3eae5a227aa206ac38348d37a1cbf502a717fb1a","_id":"@dengorbachev/coda-js-client@1.2.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-Ly21yNv8A/22fuJx1e6eQ0KgNbLPejBY1zDaIJ+eQrraXR0Is6LuNbKOGW1dm8WtcF9lYhiS43O8wYLm+aLAJw==","shasum":"289c59bad121ccc39cce7c2639678205c7180420","tarball":"https://registry.npmjs.org/@dengorbachev/coda-js-client/-/coda-js-client-1.2.0.tgz","fileCount":604,"unpackedSize":5916811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfqU+CRA9TVsSAnZWagAApj0P/RNZ51tSm0ib+V7kRrvr\nCDxW1hOXm+p1CVDZCVRtJonHP8qrrR15Lwmsj/lDri+dorT4n0nC850skxmE\n7BIQo0j6ZVwOCoB9hIA+JCstsYc1MnomsPcjfInHCHDDTXAwOQHKCVjjTokw\n8G52rd0tUt3c/pv8HPVVHeIsxE+wG3uDNwWUTvue8NrDvwluH2XFf3mu+Fav\n6c5e/vxO9fseGj42xfFGyg8RSONa5Qb0atmbQC0A7luRv747bVLpkUTzB3d1\n3YUZwguKBuhc9wWt+NlqIrin24qoHf39nJfgTzVbwSMPyAH7mySpCFnU+33q\nKvUYXqY5odTBsEelcLMDeOcLbSKRtM40Enw3AWudtG3rs+guNUaffa01W+9k\n/B4dxKx5hrSJ8p1jPC2xKnL3M2fU09+f4+ym9d7VC4mC5seIRBLsI3YhOwnd\nldVpho+2OYMfYNmBQVmyiUI4+1WqIsM/nivTCXoWzOTfAoJkQTTCyYXaztkN\nXSgzkv1hkqnyHvOl75pDJ0kB86f3fP+drrgImN8bOI3QGEqDYDq8dX7A01vq\n6N0tIl/QEMmlukRT7QASH+H8RGZ1sUlBMqPx+ggEOfvpU6bcQZdV2TpbYv63\nr603/+TyvoerB39ia0ynC6Z6VW+8GbkVcFpG2V7QhwL8npw3WM7Hok+27U9e\nYz2R\r\n=mCZx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfQmRW53XpPoQ70tS+Z7W36ALlKWwHLN5TmBxK6O2/6gIhAJhgaFN6UgeDODuiLXj0mynYvVkMbFFMLOTlfXa/3STl"}]},"_npmUser":{"name":"dengorbachev","email":"denis.d.gorbachev@gmail.com"},"maintainers":[{"name":"dengorbachev","email":"denis.d.gorbachev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/coda-js-client_1.2.0_1618912573709_0.09491643389112481"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-20T09:56:13.610Z","1.2.0":"2021-04-20T09:56:13.887Z","modified":"2022-04-05T03:44:49.495Z"},"maintainers":[{"name":"dengorbachev","email":"denis.d.gorbachev@gmail.com"}],"description":"Client library for Coda API (autogenerated)","homepage":"https://github.com/DenisGorbachev/coda-js-client#readme","keywords":["coda"],"repository":{"type":"git","url":"git+ssh://git@github.com/DenisGorbachev/coda-js-client.git"},"author":{"name":"Denis Gorbachev"},"bugs":{"url":"https://github.com/DenisGorbachev/coda-js-client/issues"},"license":"MIT","readme":"# coda-js-client\n\nCodaJsClient - JavaScript client for coda-js-client\n# Introduction  The Coda API is a RESTful API that lets you programmatically interact with Coda docs:   * List and search Coda docs  * Create new docs and copy existing ones  * Share and publish docs  * Discover pages, tables, formulas, and controls  * Read, insert, upsert, update, and delete rows  Version 1 of the API will be supported until at least January 15, 2021. As we update and release newer versions of the API, we reserve the right to remove older APIs and functionality with a 3-month deprecation notice. We will post about such changes as well as announce new features in the [Developers Central](https://community.coda.io/c/developers-central) section of our Community, and update the [API updates](https://coda.io/api-updates) doc.  # Getting Started  Our [Getting Started Guide](https://coda.io/t/Getting-Started-Guide-Coda-API_toujpmwflfy) helps you learn the basic of working with the API and shows a few ways you can use it. Check it out, and learn how to:  - Read data from Coda tables and write back to them - Build a one-way sync from one Coda doc to another - Automate reminders - Sync your Google Calendar to Coda  # Using the API  Coda's REST API is designed to be straightforward to use. You can use the language and platform of your choice to make requests. To get a feel for the API, you can also use a tool like [Postman](https://www.getpostman.com/) or [Insomnia](https://insomnia.rest/).  ## API Endpoint  This API uses a base path of `https://coda.io/apis/v1`.  ## Resource IDs and Links  Each resource instance retrieved via the API has the following fields:    - `id`: The resource's immutable ID, which can be used to refer to it within its context   - `type`: The type of resource, useful for identifying it in a heterogenous collection of results   - `href`: A fully qualified URI that can be used to refer to and get the latest details on the resource  Most resources can be queried by their name or ID. We recommend sticking with IDs where possible, as names are fragile and prone to being changed by your doc's users.  ### List Endpoints  Endpoints supporting listing of resources have the following fields:    - `items`: An array containing the listed resources, limited by the `limit` or `pageToken` query parameters   - `nextPageLink`: If more results are available, an API link to the next page of results   - `nextPageToken`: If more results are available, a page token that can be passed into the `pageToken` query parameter  **The maximum page size may change at any time, and may be different for different endpoints.** Please do not rely on it for any behavior of your application. If you pass a `limit` parameter that is larger than our maximum allowed limit, we will only return as many results as our maximum limit. You should look for the presence of the `nextPageToken` on the response to see if there are more results available, rather than relying on a result set that matches your provided limit.  To fetch a subsequent page of results, pass the `pageToken` parameter. Set this parameter to the value given to you as the `nextPageToken` in a page response. If no value is provided, there are no more results available. You only need to pass the `pageToken` to get the next page of results, you don't need to pass any of the parameters from your original request, as they are all implied by the `pageToken`. Any other parameters provided alongside a `pageToken` will be ignored.  ### Doc IDs  While most object IDs will have to be discovered via the API, you may find yourself frequently wanting to get the ID of a specific Coda doc.  Here's a handy tool that will extract it for you. (See if you can find the pattern!)  <form>   <fieldset style=\\\"margin: 0px 25px 25px 25px; display: inline;\\\">     <legend>Doc ID Extractor</legend>     <input type=\\\"text\\\" id=\\\"de_docUrl\\\" placeholder=\\\"Paste in a Coda doc URL\\\"            style=\\\"width: 250px; padding: 8px; margin-right: 20px;\\\" />     <span>       Your doc ID is:&nbsp;&nbsp;&nbsp;       <input id=\\\"de_docId\\\" readonly=\\\"true\\\"              style=\\\"width: 150px; padding: 8px; font-family: monospace; border: 1px dashed gray;\\\" />   </fieldset> </form>  <script>   (() => {     const docUrl = document.getElementById('de_docUrl');     const docId = document.getElementById('de_docId');     docUrl.addEventListener('input', () => {       docId.value = (docUrl.value.match(/_d([\\\\w-]+)/) || [])[1] || '';     });     docId.addEventListener('mousedown', () => docId.select());     docId.addEventListener('click', () => docId.select());   })(); </script>  ## Rate Limiting  The Coda API sets a reasonable limit on the number of requests that can be made per minute. Once this limit is reached, calls to the API will start returning errors with an HTTP status code of 429. If you find yourself hitting rate limits and would like your individual rate to be raised, please contact us at <help+api@coda.io>.  ## Consistency  While edits made in Coda are shared with other collaborators in real-time, it can take a few seconds for them to become available via the API. You may also notice that changes made via the API, such as updating a row, are not immediate. These endpoints all return an HTTP 202 status code, instead of a standard 200, indicating that the edit has been accepted and queued for processing. This generally takes a few seconds, and the edit may fail if invalid. Each such edit will return a `requestId` in the response, and you can pass this `requestId` to the [`#getMutationStatus`](#operation/getMutationStatus) endpoint to find out if it has been applied.  ## Volatile Formulas  Coda exposes a number of \\\"volatile\\\" formulas, as as `Today()`, `Now()`, and `User()`. When used in a live Coda doc, these formulas affect what's visible in realtime, tailored to the current user.  Such formulas behave differently with the API. Time-based values may only be current to the last edit made to the doc. User-based values may be blank or invalid.  ## Free and Paid Workspaces  We make the Coda API available to all of our users free of charge, in both free and paid workspaces. However, API usage is subject to the role of the user associated with the API token in the workspace applicable to each API request. What this means is:  - For the [`#createDoc`](#operation/createDoc) endpoint specifically, the owner of the API token must be a Doc   Maker (or Admin) in the workspace. If the \\\"Any member can create docs\\\" option in enabled in the workspace   settings, they can be an Editor and will get auto-promoted to Doc Maker upon using this endpoint. Lastly, if in   addition, the API key owner matches the \\\"Approved email domains\\\" setting, they will be auto-added to the   workspace and promoted to Doc Maker upon using this endpoint  This behavior applies to the API as well as any integrations that may use it, such as Zapier.  ## Examples  To help you get started, this documentation provides code examples in Python, Unix shell, and Google Apps Script. These examples are based on a simple doc that looks something like this:  ![](https://cdn.coda.io/external/img/api_example_doc.png)  ### Python examples  These examples use Python 3.6+. If you don't already have the `requests` module, use `pip` or `easy_install` to get it.  ### Shell examples  The shell examples are intended to be run in a Unix shell. If you're on Windows, you will need to install [WSL](https://docs.microsoft.com/en-us/windows/wsl/install-win10).  These examples use the standard cURL utility to pull from the API, and then process it with `jq` to extract and format example output. If you don't already have it, you can either [install it](https://stedolan.github.io/jq/) or run the command without it to see the raw JSON output.  ### Google Apps Script examples  ![](https://cdn.coda.io/external/img/api_gas.png)  [Google Apps Script](https://script.google.com/) makes it easy to write code in a JavaScript-like syntax and easily access many Google products with built-in libraries. You can set up your scripts to run periodically, which makes it a good environment for writing tools without maintaining your own server.  Coda provides a library for Google Apps Script. To use it, go into `Resources -> Libraries...` and enter the following library ID: `15IQuWOk8MqT50FDWomh57UqWGH23gjsWVWYFms3ton6L-UHmefYHS9Vl`. If you want to see the library's source code, it's available [here](https://script.google.com/d/15IQuWOk8MqT50FDWomh57UqWGH23gjsWVWYFms3ton6L-UHmefYHS9Vl/edit).  Google provides autocomplete for API functions as well as generated docs. You can access these docs via the Libraries dialog by clicking on the library name. Required parameters that would be included in the URL path are positional arguments in each of these functions, followed by the request body, if applicable. All remaining parameters can be specified in the options object.  ## OpenAPI/Swagger Spec  In an effort to standardize our API and make it accessible, we offer an OpenAPI 3.0 specification:  - [OpenAPI 3.0 spec - YAML](https://coda.io/apis/v1/openapi.yaml) - [OpenAPI 3.0 spec - JSON](https://coda.io/apis/v1/openapi.json)  ### Swagger 2.0  We also offer a downgraded Swagger 2.0 version of our specification. This may be useful for a number of tools that haven't yet been adapted to OpenAPI 3.0. Here are the links:  - [Swagger 2.0 spec - YAML](https://coda.io/apis/v1/swagger.yaml) - [Swagger 2.0 spec - JSON](https://coda.io/apis/v1/swagger.json)  #### Postman collection  To get started with prototyping the API quickly in Postman, you can use one of links above to import the Coda API into a collection. You'll then need to set the [appropriate header](#section/Authentication) and environment variables.  ## Client libraries  We do not currently support client libraries apart from Google Apps Script. To work with the Coda API, you can either use standard network libraries for your language, or use the appropriate Swagger Generator tool to auto-generate Coda API client libraries for your language of choice. We do not provide any guarantees that these autogenerated libraries are compatible with our API (e.g., some libraries may not work with Bearer authentication).  ### OpenAPI 3.0  [Swagger Generator 3](https://generator3.swagger.io/) (that link takes you to the docs for the generator API) can generate client libraries for [these languages](https://generator3.swagger.io/v2/clients). It's relatively new and thus only has support for a limited set of languages at this time.  ### Swagger 2.0  [Swagger Generator](https://generator.swagger.io/) takes in a legacy Swagger 2.0 specification, but can generate client libraries for [more languages](http://generator.swagger.io/api/gen/clients). You can also use local [CLI tools](https://swagger.io/docs/open-source-tools/swagger-codegen/) to generate these libraries.  ### Third-party client libraries  Some members of our amazing community have written libraries to work with our API. These aren't officially supported by Coda, but are listed here for convenience. (Please let us know if you've written a library and would like to have it included here.)  - [PHP](https://github.com/danielstieber/CodaPHP) by Daniel Stieber - [Node-RED](https://github.com/serene-water/node-red-contrib-coda-io) by Mori Sugimoto - [NodeJS](https://www.npmjs.com/package/coda-js) by Parker McMullin - [Ruby](https://rubygems.org/gems/coda_docs/) by Carlos Muñoz at Getro - [Python](https://github.com/Blasterai/codaio) by Mikhail Beliansky \nThis SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:\n\n- API version: 1.2.0\n- Package version: 1.2.0\n- Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen\nFor more information, please visit [https://coda.io](https://coda.io)\n\n## Installation\n\n### For [Node.js](https://nodejs.org/)\n\n#### npm\n\nTo publish the library as a [npm](https://www.npmjs.com/),\nplease follow the procedure in [\"Publishing npm packages\"](https://docs.npmjs.com/getting-started/publishing-npm-packages).\n\nThen install it via:\n\n```shell\nnpm install coda-js-client --save\n```\n\n#### git\n#\nIf the library is hosted at a git repository, e.g.\nhttps://github.com/GIT_USER_ID/GIT_REPO_ID\nthen install it via:\n\n```shell\n    npm install GIT_USER_ID/GIT_REPO_ID --save\n```\n\n### For browser\n\nThe library also works in the browser environment via npm and [browserify](http://browserify.org/). After following\nthe above steps with Node.js and installing browserify with `npm install -g browserify`,\nperform the following (assuming *main.js* is your entry file):\n\n```shell\nbrowserify main.js > bundle.js\n```\n\nThen include *bundle.js* in the HTML pages.\n\n### Webpack Configuration\n\nUsing Webpack you may encounter the following error: \"Module not found: Error:\nCannot resolve module\", most certainly you should disable AMD loader. Add/merge\nthe following section to your webpack config:\n\n```javascript\nmodule: {\n  rules: [\n    {\n      parser: {\n        amd: false\n      }\n    }\n  ]\n}\n```\n\n## Getting Started\n\nPlease follow the [installation](#installation) instruction and execute the following JS code:\n\n```javascript\nvar CodaJsClient = require('coda-js-client');\nvar defaultClient = CodaJsClient.ApiClient.instance;\n\n\nvar api = new CodaJsClient.AccountApi()\napi.whoami().then(function(data) {\n  console.log('API called successfully. Returned data: ' + data);\n}, function(error) {\n  console.error(error);\n});\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://coda.io/apis/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*CodaJsClient.AccountApi* | [**whoami**](docs/AccountApi.md#whoami) | **GET** /whoami | Get user info\n*CodaJsClient.AnalyticsApi* | [**listDocAnalytics**](docs/AnalyticsApi.md#listDocAnalytics) | **GET** /analytics/docs | List doc analytics\n*CodaJsClient.ColumnsApi* | [**getColumn**](docs/ColumnsApi.md#getColumn) | **GET** /docs/{docId}/tables/{tableIdOrName}/columns/{columnIdOrName} | Get a column\n*CodaJsClient.ColumnsApi* | [**listColumns**](docs/ColumnsApi.md#listColumns) | **GET** /docs/{docId}/tables/{tableIdOrName}/columns | List columns\n*CodaJsClient.ControlsApi* | [**getControl**](docs/ControlsApi.md#getControl) | **GET** /docs/{docId}/controls/{controlIdOrName} | Get a control\n*CodaJsClient.ControlsApi* | [**listControls**](docs/ControlsApi.md#listControls) | **GET** /docs/{docId}/controls | List controls\n*CodaJsClient.DocsApi* | [**createDoc**](docs/DocsApi.md#createDoc) | **POST** /docs | Create doc\n*CodaJsClient.DocsApi* | [**deleteDoc**](docs/DocsApi.md#deleteDoc) | **DELETE** /docs/{docId} | Delete doc\n*CodaJsClient.DocsApi* | [**getDoc**](docs/DocsApi.md#getDoc) | **GET** /docs/{docId} | Get info about a doc\n*CodaJsClient.DocsApi* | [**listDocs**](docs/DocsApi.md#listDocs) | **GET** /docs | List available docs\n*CodaJsClient.FormulasApi* | [**getFormula**](docs/FormulasApi.md#getFormula) | **GET** /docs/{docId}/formulas/{formulaIdOrName} | Get a formula\n*CodaJsClient.FormulasApi* | [**listFormulas**](docs/FormulasApi.md#listFormulas) | **GET** /docs/{docId}/formulas | List formulas\n*CodaJsClient.MiscellaneousApi* | [**getMutationStatus**](docs/MiscellaneousApi.md#getMutationStatus) | **GET** /mutationStatus/{requestId} | Get mutation status\n*CodaJsClient.MiscellaneousApi* | [**resolveBrowserLink**](docs/MiscellaneousApi.md#resolveBrowserLink) | **GET** /resolveBrowserLink | Resolve browser link\n*CodaJsClient.PacksApi* | [**addPackPermission**](docs/PacksApi.md#addPackPermission) | **POST** /packs/{packId}/permissions | Add a permission for Pack\n*CodaJsClient.PacksApi* | [**createPack**](docs/PacksApi.md#createPack) | **POST** /packs | Create Pack\n*CodaJsClient.PacksApi* | [**deletePackPermission**](docs/PacksApi.md#deletePackPermission) | **DELETE** /packs/{packId}/permissions/{permissionId} | Delete a permission for Pack\n*CodaJsClient.PacksApi* | [**getPack**](docs/PacksApi.md#getPack) | **GET** /packs/{packId} | Get a single Pack\n*CodaJsClient.PacksApi* | [**getPackPermissions**](docs/PacksApi.md#getPackPermissions) | **GET** /packs/{packId}/permissions | List permissions for a Pack\n*CodaJsClient.PacksApi* | [**listPacks**](docs/PacksApi.md#listPacks) | **GET** /packs | List Packs\n*CodaJsClient.PacksApi* | [**packAssetUploadComplete**](docs/PacksApi.md#packAssetUploadComplete) | **POST** /packs/{packId}/assets/{packAssetId}/assetType/{packAssetType}/uploadComplete | Pack asset upload complete\n*CodaJsClient.PacksApi* | [**packVersionUploadComplete**](docs/PacksApi.md#packVersionUploadComplete) | **POST** /packs/{packId}/versions/{packVersion}/uploadComplete | Pack version upload complete\n*CodaJsClient.PacksApi* | [**registerPackVersion**](docs/PacksApi.md#registerPackVersion) | **POST** /packs/{packId}/versions/{packVersion}/register | Register Pack version\n*CodaJsClient.PacksApi* | [**setPackLiveVersion**](docs/PacksApi.md#setPackLiveVersion) | **PUT** /packs/{packId}/liveVersion | Set live version for Pack\n*CodaJsClient.PacksApi* | [**updatePack**](docs/PacksApi.md#updatePack) | **PATCH** /packs/{packId} | Update Pack\n*CodaJsClient.PacksApi* | [**uploadPackAsset**](docs/PacksApi.md#uploadPackAsset) | **POST** /packs/{packId}/uploadAsset | Upload a Pack asset.\n*CodaJsClient.PagesApi* | [**getPage**](docs/PagesApi.md#getPage) | **GET** /docs/{docId}/pages/{pageIdOrName} | Get a page\n*CodaJsClient.PagesApi* | [**listPages**](docs/PagesApi.md#listPages) | **GET** /docs/{docId}/pages | List pages\n*CodaJsClient.PagesApi* | [**updatePage**](docs/PagesApi.md#updatePage) | **PUT** /docs/{docId}/pages/{pageIdOrName} | Update a page\n*CodaJsClient.PermissionsApi* | [**addPermission**](docs/PermissionsApi.md#addPermission) | **POST** /docs/{docId}/acl/permissions | Add permission\n*CodaJsClient.PermissionsApi* | [**deletePermission**](docs/PermissionsApi.md#deletePermission) | **DELETE** /docs/{docId}/acl/permissions/{permissionId} | Delete permission\n*CodaJsClient.PermissionsApi* | [**getPermissions**](docs/PermissionsApi.md#getPermissions) | **GET** /docs/{docId}/acl/permissions | List permissions\n*CodaJsClient.PermissionsApi* | [**getSharingMetadata**](docs/PermissionsApi.md#getSharingMetadata) | **GET** /docs/{docId}/acl/metadata | Get sharing metadata\n*CodaJsClient.PublishingApi* | [**listCategories**](docs/PublishingApi.md#listCategories) | **GET** /categories | Get doc categories\n*CodaJsClient.PublishingApi* | [**publishDoc**](docs/PublishingApi.md#publishDoc) | **PUT** /docs/{docId}/publish | Publish doc\n*CodaJsClient.PublishingApi* | [**unpublishDoc**](docs/PublishingApi.md#unpublishDoc) | **DELETE** /docs/{docId}/publish | Unpublish doc\n*CodaJsClient.RowsApi* | [**deleteRow**](docs/RowsApi.md#deleteRow) | **DELETE** /docs/{docId}/tables/{tableIdOrName}/rows/{rowIdOrName} | Delete row\n*CodaJsClient.RowsApi* | [**deleteRows**](docs/RowsApi.md#deleteRows) | **DELETE** /docs/{docId}/tables/{tableIdOrName}/rows | Delete multiple rows\n*CodaJsClient.RowsApi* | [**getRow**](docs/RowsApi.md#getRow) | **GET** /docs/{docId}/tables/{tableIdOrName}/rows/{rowIdOrName} | Get a row\n*CodaJsClient.RowsApi* | [**listRows**](docs/RowsApi.md#listRows) | **GET** /docs/{docId}/tables/{tableIdOrName}/rows | List table rows\n*CodaJsClient.RowsApi* | [**pushButton**](docs/RowsApi.md#pushButton) | **POST** /docs/{docId}/tables/{tableIdOrName}/rows/{rowIdOrName}/buttons/{columnIdOrName} | Push a button\n*CodaJsClient.RowsApi* | [**updateRow**](docs/RowsApi.md#updateRow) | **PUT** /docs/{docId}/tables/{tableIdOrName}/rows/{rowIdOrName} | Update row\n*CodaJsClient.RowsApi* | [**upsertRows**](docs/RowsApi.md#upsertRows) | **POST** /docs/{docId}/tables/{tableIdOrName}/rows | Insert/upsert rows\n*CodaJsClient.TablesApi* | [**getTable**](docs/TablesApi.md#getTable) | **GET** /docs/{docId}/tables/{tableIdOrName} | Get a table\n*CodaJsClient.TablesApi* | [**listTables**](docs/TablesApi.md#listTables) | **GET** /docs/{docId}/tables | List tables\n*CodaJsClient.WorkspacesApi* | [**changeUserRole**](docs/WorkspacesApi.md#changeUserRole) | **POST** /workspaces/{workspaceId}/users/role | Updates user role\n*CodaJsClient.WorkspacesApi* | [**listWorkspaceMembers**](docs/WorkspacesApi.md#listWorkspaceMembers) | **GET** /workspaces/{workspaceId}/users | List workspace users\n*CodaJsClient.WorkspacesApi* | [**listWorkspaceRoleActivity**](docs/WorkspacesApi.md#listWorkspaceRoleActivity) | **GET** /workspaces/{workspaceId}/roles | List workspace roles\n\n## Documentation for Models\n\n - [CodaJsClient.AccessType](docs/AccessType.md)\n - [CodaJsClient.Acl](docs/Acl.md)\n - [CodaJsClient.AclMetadata](docs/AclMetadata.md)\n - [CodaJsClient.AddPackPermissionRequest](docs/AddPackPermissionRequest.md)\n - [CodaJsClient.AddPackPermissionResponse](docs/AddPackPermissionResponse.md)\n - [CodaJsClient.AddPermissionRequest](docs/AddPermissionRequest.md)\n - [CodaJsClient.AddPermissionResult](docs/AddPermissionResult.md)\n - [CodaJsClient.AllOfAclNextPageLink](docs/AllOfAclNextPageLink.md)\n - [CodaJsClient.AllOfColumnListNextPageLink](docs/AllOfColumnListNextPageLink.md)\n - [CodaJsClient.AllOfControlListNextPageLink](docs/AllOfControlListNextPageLink.md)\n - [CodaJsClient.AllOfDocAnalyticsCollectionNextPageLink](docs/AllOfDocAnalyticsCollectionNextPageLink.md)\n - [CodaJsClient.AllOfDocAnalyticsItemDoc](docs/AllOfDocAnalyticsItemDoc.md)\n - [CodaJsClient.AllOfDocListNextPageLink](docs/AllOfDocListNextPageLink.md)\n - [CodaJsClient.AllOfDocSourceDoc](docs/AllOfDocSourceDoc.md)\n - [CodaJsClient.AllOfDocumentCreationResultSourceDoc](docs/AllOfDocumentCreationResultSourceDoc.md)\n - [CodaJsClient.AllOfFormulaListNextPageLink](docs/AllOfFormulaListNextPageLink.md)\n - [CodaJsClient.AllOfPackSummaryListNextPageLink](docs/AllOfPackSummaryListNextPageLink.md)\n - [CodaJsClient.AllOfPageListNextPageLink](docs/AllOfPageListNextPageLink.md)\n - [CodaJsClient.AllOfRowListNextPageLink](docs/AllOfRowListNextPageLink.md)\n - [CodaJsClient.AllOfTableFilter](docs/AllOfTableFilter.md)\n - [CodaJsClient.AllOfTableListNextPageLink](docs/AllOfTableListNextPageLink.md)\n - [CodaJsClient.AllOfWorkspaceMembersListNextPageLink](docs/AllOfWorkspaceMembersListNextPageLink.md)\n - [CodaJsClient.AnyonePrincipal](docs/AnyonePrincipal.md)\n - [CodaJsClient.ApiLink](docs/ApiLink.md)\n - [CodaJsClient.ApiLinkResolvedResource](docs/ApiLinkResolvedResource.md)\n - [CodaJsClient.CellEdit](docs/CellEdit.md)\n - [CodaJsClient.CellValue](docs/CellValue.md)\n - [CodaJsClient.ChangeRole](docs/ChangeRole.md)\n - [CodaJsClient.ChangeRoleResult](docs/ChangeRoleResult.md)\n - [CodaJsClient.Column](docs/Column.md)\n - [CodaJsClient.ColumnDetail](docs/ColumnDetail.md)\n - [CodaJsClient.ColumnFormat](docs/ColumnFormat.md)\n - [CodaJsClient.ColumnFormatType](docs/ColumnFormatType.md)\n - [CodaJsClient.ColumnList](docs/ColumnList.md)\n - [CodaJsClient.ColumnReference](docs/ColumnReference.md)\n - [CodaJsClient.Control](docs/Control.md)\n - [CodaJsClient.ControlList](docs/ControlList.md)\n - [CodaJsClient.ControlReference](docs/ControlReference.md)\n - [CodaJsClient.ControlType](docs/ControlType.md)\n - [CodaJsClient.CreatePackRequest](docs/CreatePackRequest.md)\n - [CodaJsClient.CreatePackResponse](docs/CreatePackResponse.md)\n - [CodaJsClient.CreatePackVersionResponse](docs/CreatePackVersionResponse.md)\n - [CodaJsClient.CurrencyAmount](docs/CurrencyAmount.md)\n - [CodaJsClient.CurrencyColumnFormat](docs/CurrencyColumnFormat.md)\n - [CodaJsClient.CurrencyFormatType](docs/CurrencyFormatType.md)\n - [CodaJsClient.CurrencyValue](docs/CurrencyValue.md)\n - [CodaJsClient.DateColumnFormat](docs/DateColumnFormat.md)\n - [CodaJsClient.DateTimeColumnFormat](docs/DateTimeColumnFormat.md)\n - [CodaJsClient.DeletePackPermissionResponse](docs/DeletePackPermissionResponse.md)\n - [CodaJsClient.DeletePermissionResult](docs/DeletePermissionResult.md)\n - [CodaJsClient.Doc](docs/Doc.md)\n - [CodaJsClient.DocAnalyticsCollection](docs/DocAnalyticsCollection.md)\n - [CodaJsClient.DocAnalyticsItem](docs/DocAnalyticsItem.md)\n - [CodaJsClient.DocAnalyticsScale](docs/DocAnalyticsScale.md)\n - [CodaJsClient.DocCategory](docs/DocCategory.md)\n - [CodaJsClient.DocCategoryList](docs/DocCategoryList.md)\n - [CodaJsClient.DocCreate](docs/DocCreate.md)\n - [CodaJsClient.DocDelete](docs/DocDelete.md)\n - [CodaJsClient.DocList](docs/DocList.md)\n - [CodaJsClient.DocPublish](docs/DocPublish.md)\n - [CodaJsClient.DocPublishMode](docs/DocPublishMode.md)\n - [CodaJsClient.DocPublished](docs/DocPublished.md)\n - [CodaJsClient.DocReference](docs/DocReference.md)\n - [CodaJsClient.DocSize](docs/DocSize.md)\n - [CodaJsClient.DocumentCreationResult](docs/DocumentCreationResult.md)\n - [CodaJsClient.DocumentMutateResponse](docs/DocumentMutateResponse.md)\n - [CodaJsClient.DomainPrincipal](docs/DomainPrincipal.md)\n - [CodaJsClient.DurationColumnFormat](docs/DurationColumnFormat.md)\n - [CodaJsClient.DurationUnit](docs/DurationUnit.md)\n - [CodaJsClient.EmailColumnFormat](docs/EmailColumnFormat.md)\n - [CodaJsClient.EmailDisplayType](docs/EmailDisplayType.md)\n - [CodaJsClient.EmailPrincipal](docs/EmailPrincipal.md)\n - [CodaJsClient.Formula](docs/Formula.md)\n - [CodaJsClient.FormulaDetail](docs/FormulaDetail.md)\n - [CodaJsClient.FormulaList](docs/FormulaList.md)\n - [CodaJsClient.FormulaReference](docs/FormulaReference.md)\n - [CodaJsClient.GetWorkspaceRoleActivity](docs/GetWorkspaceRoleActivity.md)\n - [CodaJsClient.Icon](docs/Icon.md)\n - [CodaJsClient.IconSet](docs/IconSet.md)\n - [CodaJsClient.Image](docs/Image.md)\n - [CodaJsClient.ImageStatus](docs/ImageStatus.md)\n - [CodaJsClient.ImageUrlValue](docs/ImageUrlValue.md)\n - [CodaJsClient.InlineResponse400](docs/InlineResponse400.md)\n - [CodaJsClient.InlineResponse4001](docs/InlineResponse4001.md)\n - [CodaJsClient.InlineResponse4001CodaDetail](docs/InlineResponse4001CodaDetail.md)\n - [CodaJsClient.InlineResponse401](docs/InlineResponse401.md)\n - [CodaJsClient.InlineResponse403](docs/InlineResponse403.md)\n - [CodaJsClient.InlineResponse404](docs/InlineResponse404.md)\n - [CodaJsClient.InlineResponse410](docs/InlineResponse410.md)\n - [CodaJsClient.InlineResponse429](docs/InlineResponse429.md)\n - [CodaJsClient.Layout](docs/Layout.md)\n - [CodaJsClient.LinkedDataObject](docs/LinkedDataObject.md)\n - [CodaJsClient.LinkedDataType](docs/LinkedDataType.md)\n - [CodaJsClient.MutationStatus](docs/MutationStatus.md)\n - [CodaJsClient.NextPageLink](docs/NextPageLink.md)\n - [CodaJsClient.NextPageToken](docs/NextPageToken.md)\n - [CodaJsClient.NextSyncToken](docs/NextSyncToken.md)\n - [CodaJsClient.NumberOrNumberFormula](docs/NumberOrNumberFormula.md)\n - [CodaJsClient.NumericColumnFormat](docs/NumericColumnFormat.md)\n - [CodaJsClient.OneOfCellValue](docs/OneOfCellValue.md)\n - [CodaJsClient.OneOfColumnFormat](docs/OneOfColumnFormat.md)\n - [CodaJsClient.OneOfCurrencyAmount](docs/OneOfCurrencyAmount.md)\n - [CodaJsClient.OneOfNumberOrNumberFormula](docs/OneOfNumberOrNumberFormula.md)\n - [CodaJsClient.OneOfPackPrincipal](docs/OneOfPackPrincipal.md)\n - [CodaJsClient.OneOfPrincipal](docs/OneOfPrincipal.md)\n - [CodaJsClient.OneOfRichSingleValue](docs/OneOfRichSingleValue.md)\n - [CodaJsClient.OneOfRichValue](docs/OneOfRichValue.md)\n - [CodaJsClient.OneOfScalarValue](docs/OneOfScalarValue.md)\n - [CodaJsClient.OneOfValue](docs/OneOfValue.md)\n - [CodaJsClient.Pack](docs/Pack.md)\n - [CodaJsClient.PackAccessType](docs/PackAccessType.md)\n - [CodaJsClient.PackAssetType](docs/PackAssetType.md)\n - [CodaJsClient.PackAssetUploadCompleteRequest](docs/PackAssetUploadCompleteRequest.md)\n - [CodaJsClient.PackAssetUploadCompleteResponse](docs/PackAssetUploadCompleteResponse.md)\n - [CodaJsClient.PackAssetUploadInfo](docs/PackAssetUploadInfo.md)\n - [CodaJsClient.PackGlobalPrincipal](docs/PackGlobalPrincipal.md)\n - [CodaJsClient.PackPermission](docs/PackPermission.md)\n - [CodaJsClient.PackPermissionList](docs/PackPermissionList.md)\n - [CodaJsClient.PackPrincipal](docs/PackPrincipal.md)\n - [CodaJsClient.PackPrincipalType](docs/PackPrincipalType.md)\n - [CodaJsClient.PackRateLimit](docs/PackRateLimit.md)\n - [CodaJsClient.PackSummary](docs/PackSummary.md)\n - [CodaJsClient.PackSummaryList](docs/PackSummaryList.md)\n - [CodaJsClient.PackUserPrincipal](docs/PackUserPrincipal.md)\n - [CodaJsClient.PackVersionUploadInfo](docs/PackVersionUploadInfo.md)\n - [CodaJsClient.PackWorkspacePrincipal](docs/PackWorkspacePrincipal.md)\n - [CodaJsClient.PacksSortBy](docs/PacksSortBy.md)\n - [CodaJsClient.Page](docs/Page.md)\n - [CodaJsClient.PageList](docs/PageList.md)\n - [CodaJsClient.PageReference](docs/PageReference.md)\n - [CodaJsClient.PageUpdate](docs/PageUpdate.md)\n - [CodaJsClient.PageUpdateResult](docs/PageUpdateResult.md)\n - [CodaJsClient.Permission](docs/Permission.md)\n - [CodaJsClient.PersonValue](docs/PersonValue.md)\n - [CodaJsClient.Principal](docs/Principal.md)\n - [CodaJsClient.PrincipalType](docs/PrincipalType.md)\n - [CodaJsClient.PublishResult](docs/PublishResult.md)\n - [CodaJsClient.PushButtonResult](docs/PushButtonResult.md)\n - [CodaJsClient.ReferenceColumnFormat](docs/ReferenceColumnFormat.md)\n - [CodaJsClient.RichSingleValue](docs/RichSingleValue.md)\n - [CodaJsClient.RichValue](docs/RichValue.md)\n - [CodaJsClient.Row](docs/Row.md)\n - [CodaJsClient.RowDeleteResult](docs/RowDeleteResult.md)\n - [CodaJsClient.RowDetail](docs/RowDetail.md)\n - [CodaJsClient.RowEdit](docs/RowEdit.md)\n - [CodaJsClient.RowList](docs/RowList.md)\n - [CodaJsClient.RowUpdate](docs/RowUpdate.md)\n - [CodaJsClient.RowUpdateResult](docs/RowUpdateResult.md)\n - [CodaJsClient.RowValue](docs/RowValue.md)\n - [CodaJsClient.RowsDelete](docs/RowsDelete.md)\n - [CodaJsClient.RowsDeleteResult](docs/RowsDeleteResult.md)\n - [CodaJsClient.RowsSortBy](docs/RowsSortBy.md)\n - [CodaJsClient.RowsUpsert](docs/RowsUpsert.md)\n - [CodaJsClient.RowsUpsertResult](docs/RowsUpsertResult.md)\n - [CodaJsClient.ScalarValue](docs/ScalarValue.md)\n - [CodaJsClient.ScaleColumnFormat](docs/ScaleColumnFormat.md)\n - [CodaJsClient.SetPackLiveVersionRequest](docs/SetPackLiveVersionRequest.md)\n - [CodaJsClient.SetPackLiveVersionResponse](docs/SetPackLiveVersionResponse.md)\n - [CodaJsClient.SimpleColumnFormat](docs/SimpleColumnFormat.md)\n - [CodaJsClient.SliderColumnFormat](docs/SliderColumnFormat.md)\n - [CodaJsClient.Sort](docs/Sort.md)\n - [CodaJsClient.SortBy](docs/SortBy.md)\n - [CodaJsClient.SortDirection](docs/SortDirection.md)\n - [CodaJsClient.Table](docs/Table.md)\n - [CodaJsClient.TableList](docs/TableList.md)\n - [CodaJsClient.TableReference](docs/TableReference.md)\n - [CodaJsClient.TableType](docs/TableType.md)\n - [CodaJsClient.TimeColumnFormat](docs/TimeColumnFormat.md)\n - [CodaJsClient.Type](docs/Type.md)\n - [CodaJsClient.UnpublishResult](docs/UnpublishResult.md)\n - [CodaJsClient.UpdatePackRequest](docs/UpdatePackRequest.md)\n - [CodaJsClient.UpdatePackRequestOverallRateLimit](docs/UpdatePackRequestOverallRateLimit.md)\n - [CodaJsClient.UploadPackAssetRequest](docs/UploadPackAssetRequest.md)\n - [CodaJsClient.UrlValue](docs/UrlValue.md)\n - [CodaJsClient.User](docs/User.md)\n - [CodaJsClient.ValidationError](docs/ValidationError.md)\n - [CodaJsClient.Value](docs/Value.md)\n - [CodaJsClient.ValueFormat](docs/ValueFormat.md)\n - [CodaJsClient.Workspace](docs/Workspace.md)\n - [CodaJsClient.WorkspaceMembersList](docs/WorkspaceMembersList.md)\n - [CodaJsClient.WorkspaceReference](docs/WorkspaceReference.md)\n - [CodaJsClient.WorkspaceRoleActivity](docs/WorkspaceRoleActivity.md)\n - [CodaJsClient.WorkspaceUser](docs/WorkspaceUser.md)\n - [CodaJsClient.WorkspaceUserRole](docs/WorkspaceUserRole.md)\n\n## Documentation for Authorization\n\n\n### Bearer\n\n\n","readmeFilename":"README.md"}