{ "opencollection": "1.0.0", "info": { "name": "GitBook Change Request Content Collections API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Collections", "type": "folder" }, "items": [ { "info": { "name": "GitBook List collections", "type": "http" }, "http": { "method": "GET", "url": "https://api.gitbook.com/v1/orgs/:organizationId/collections", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the organization." }, { "name": "page", "value": "", "type": "query", "description": "Pagination cursor for the next page of results." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items to return per page." } ] }, "docs": "Returns the list of collections in an organization." }, { "info": { "name": "GitBook Create a collection", "type": "http" }, "http": { "method": "POST", "url": "https://api.gitbook.com/v1/orgs/:organizationId/collections", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the organization." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new collection in an organization." }, { "info": { "name": "GitBook Get a collection", "type": "http" }, "http": { "method": "GET", "url": "https://api.gitbook.com/v1/collections/:collectionId", "params": [ { "name": "collectionId", "value": "", "type": "path", "description": "The unique identifier of the collection." } ] }, "docs": "Returns a collection by its ID." }, { "info": { "name": "GitBook Delete a collection", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.gitbook.com/v1/collections/:collectionId", "params": [ { "name": "collectionId", "value": "", "type": "path", "description": "The unique identifier of the collection." } ] }, "docs": "Deletes a collection." } ] } ], "bundled": true }