Collections API
The Collections API allows you to create and manage curated collections of documents and resources. Organize related content into themed collections, making it easier for users to discover and access relevant information within your organization.
Use Cases
Content Curation
Create organized collections of related documents, resources, and links to help users discover relevant content more efficiently.
Knowledge Organization
Group documents by topic, project, or department to create structured knowledge repositories that improve content discoverability.
Resource Management
Add, update, and remove items from collections to keep curated content current and maintain high-quality resource lists.
API Endpoints
Method | Endpoint | Purpose |
---|---|---|
POST | /rest/api/v1/addcollectionitems | Add Collection item Add items to a Collection. |
POST | /rest/api/v1/createcollection | Create Collection Create a publicly visible (empty) Collection of documents. |
POST | /rest/api/v1/deletecollection | Delete Collection Delete a Collection given the Collection's ID. |
POST | /rest/api/v1/deletecollectionitem | Delete Collection item Delete a single item from a Collection. |
POST | /rest/api/v1/editcollection | Update Collection Update the properties of an existing Collection. |
POST | /rest/api/v1/editcollectionitem | Update Collection item Update the URL, Glean Document ID, description of an item within a Collection given its ID. |
POST | /rest/api/v1/getcollection | Read Collection Read the details of a Collection given its ID. Does not fetch items in this Collection. |
POST | /rest/api/v1/listcollections | List Collections List all existing Collections. |