{ "opencollection": "1.0.0", "info": { "name": "Coda Account Folders API", "version": "1.5.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Folders", "type": "folder" }, "items": [ { "info": { "name": "List folders", "type": "http" }, "http": { "method": "GET", "url": "https://coda.io/apis/v1/folders", "params": [ { "name": "workspaceId", "value": "ws-1Ab234", "type": "query", "description": "Show only folders belonging to the given workspace." }, { "name": "isStarred", "value": "", "type": "query", "description": "If true, returns folders that are starred. If false, returns folders that are not starred. If not specified, returns all folders." }, { "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 folders the user has access to.\n" }, { "info": { "name": "Create folder", "type": "http" }, "http": { "method": "POST", "url": "https://coda.io/apis/v1/folders", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new folder.\n" }, { "info": { "name": "Get folder", "type": "http" }, "http": { "method": "GET", "url": "https://coda.io/apis/v1/folders/:folderId", "params": [ { "name": "folderId", "value": "fl-1Ab234", "type": "path", "description": "ID of the folder." } ] }, "docs": "Returns the requested folder.\n" }, { "info": { "name": "Update folder", "type": "http" }, "http": { "method": "PATCH", "url": "https://coda.io/apis/v1/folders/:folderId", "params": [ { "name": "folderId", "value": "fl-1Ab234", "type": "path", "description": "ID of the folder." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates metadata for a folder.\n" }, { "info": { "name": "Delete folder", "type": "http" }, "http": { "method": "DELETE", "url": "https://coda.io/apis/v1/folders/:folderId", "params": [ { "name": "folderId", "value": "fl-1Ab234", "type": "path", "description": "ID of the folder." } ] }, "docs": "Deletes a folder. The folder must be empty (contain no docs).\n" } ] } ], "bundled": true }