{ "opencollection": "1.0.0", "info": { "name": "Coda Account Docs API", "version": "1.5.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Docs", "type": "folder" }, "items": [ { "info": { "name": "List available docs", "type": "http" }, "http": { "method": "GET", "url": "https://coda.io/apis/v1/docs", "params": [ { "name": "isOwner", "value": "", "type": "query", "description": "Show only docs owned by the user." }, { "name": "isPublished", "value": "", "type": "query", "description": "Show only published docs." }, { "name": "query", "value": "Supercalifragilisticexpialidocious", "type": "query", "description": "Search term used to filter down results." }, { "name": "sourceDoc", "value": "", "type": "query", "description": "Show only docs copied from the specified doc ID." }, { "name": "isStarred", "value": "", "type": "query", "description": "If true, returns docs that are starred. If false, returns docs that are not starred." }, { "name": "inGallery", "value": "", "type": "query", "description": "Show only docs visible within the gallery." }, { "name": "workspaceId", "value": "", "type": "query", "description": "Show only docs belonging to the given workspace." }, { "name": "folderId", "value": "", "type": "query", "description": "Show only docs belonging to the given folder." }, { "name": "limit", "value": "10", "type": "query", "description": "Maximum number of results to return in this query." }, { "name": "pageToken", "value": "eyJsaW1pd", "type": "query", "description": "An opaque token used to fetch the next page of results." } ] }, "docs": "Returns a list of Coda docs accessible by the user, and which they have opened at least once. These are returned in the same order as on the docs page: reverse chronological by the latest event relevant to the user (last viewed, edited, or shared).\n" }, { "info": { "name": "Create doc", "type": "http" }, "http": { "method": "POST", "url": "https://coda.io/apis/v1/docs", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new Coda doc, optionally copying an existing doc. Note that creating a doc requires you to be a Doc Maker in the applicable workspace (or be auto-promoted to one).\n" }, { "info": { "name": "Get info about a doc", "type": "http" }, "http": { "method": "GET", "url": "https://coda.io/apis/v1/docs/:docId", "params": [ { "name": "docId", "value": "AbCDeFGH", "type": "path", "description": "ID of the doc." } ] }, "docs": "Returns metadata for the specified doc." }, { "info": { "name": "Update doc", "type": "http" }, "http": { "method": "PATCH", "url": "https://coda.io/apis/v1/docs/:docId", "params": [ { "name": "docId", "value": "AbCDeFGH", "type": "path", "description": "ID of the doc." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates metadata for a doc. Note that updating a doc title requires you to be a Doc Maker in the applicable workspace." }, { "info": { "name": "Delete doc", "type": "http" }, "http": { "method": "DELETE", "url": "https://coda.io/apis/v1/docs/:docId", "params": [ { "name": "docId", "value": "AbCDeFGH", "type": "path", "description": "ID of the doc." } ] }, "docs": "Deletes a doc." } ] } ], "bundled": true }