Adds an item to a collection and returns the item.
The collection's unique identifier.
an object with the body content
Optionaloptions: ApiCallOptionsClears the cache for collections api requests.
Clears the cache for collections api requests.
Creates and returns a new collection. Collections of type public (shown as tags in the user interface) must have unique names. Other collection types can reuse names.
Creates and returns a new collection. Collections of type public (shown as tags in the user interface) must have unique names. Other collection types can reuse names.
an object with the body content
Optionaloptions: ApiCallOptionsDeletes a collection and removes all items from the collection.
Deletes a collection and removes all items from the collection.
The collection's unique identifier.
Optionaloptions: ApiCallOptionsRemoves an item from a collection.
Removes an item from a collection.
The collection's unique identifier.
The item's unique identifier.
Optionaloptions: ApiCallOptionsFinds and returns a collection.
Finds and returns a collection.
The collection's unique identifier.
Optionaloptions: ApiCallOptionsFinds and returns an item in a specific collection. See GET /items/{id}.
Finds and returns an item in a specific collection. See GET /items/{id}.
The collection's unique identifier.
The item's unique identifier.
Optionaloptions: ApiCallOptionsRetrieves items from a collection that the user has access to.
Retrieves items from a collection that the user has access to.
The collection's unique identifier. (This query also supports 'favorites' as the collectionID).
an object with query parameters
Optionallimit?: numberThe maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive).
Optionalname?: stringThe case-insensitive string used to search for a resource by name.
Optionalnext?: stringThe cursor to the next page of resources. Provide either the next or prev cursor, but not both.
OptionalnoActions?: booleanIf set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time).
Optionalprev?: stringThe cursor to the previous page of resources. Provide either the next or prev cursor, but not both.
Optionalquery?: stringThe case-insensitive string used to search for a resource by name or description.
OptionalresourceId?: stringThe case-sensitive string used to search for an item by resourceId. If resourceId is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both.
OptionalresourceLink?: stringThe case-sensitive string used to search for an item by resourceLink. If resourceLink is provided, then resourceType must be provided. Provide either the resourceId or resourceLink, but not both.
OptionalresourceType?: ItemResourceTypeEnumThe case-sensitive string used to search for an item by resourceType.
Optionalshared?: booleanOptionalsort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt"The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively.
OptionalspaceId?: stringThe space's unique identifier (supports 'personal' as spaceId).
Optionaloptions: ApiCallOptionsRetrieves the collections that the user has access to. This endpoint does not return the user's favorites collection, which can be retrieved with /v1/collections/favorites.
Retrieves the collections that the user has access to. This endpoint does not return the user's favorites collection, which can be retrieved with /v1/collections/favorites.
an object with query parameters
OptionalcreatorId?: stringThe case-sensitive string used to search for a resource by creatorId.
Optionalid?: stringThe collection's unique identifier.
OptionalincludeItems?: stringIncludes the list of items belonging to the collections. Supported parameters are 'limit', 'sort' and 'resourceType'. Supported formats are json formatted string or deep object style using square brackets.
Optionallimit?: numberThe maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive).
Optionalname?: stringThe case-sensitive string used to search for a collection by name.
Optionalnext?: stringThe cursor to the next page of resources. Provide either the next or prev cursor, but not both.
Optionalprev?: stringThe cursor to the previous page of resources. Provide either the next or prev cursor, but not both.
Optionalquery?: stringThe case-insensitive string used to search for a resource by name or description.
Optionalsort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt"The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively.
Optionaltype?: CollectionTypesThe case-sensitive string used to filter for a collection by type. Retrieve private collections with private, public collections with publicgoverned, and tags with public.
Optionaltypes?: CollectionTypes[]A comma-separated case-sensitive string used to filter by multiple types.
Optionaloptions: ApiCallOptionsLists the user's favorites collection.
Lists the user's favorites collection.
Optionaloptions: ApiCallOptionsUpdates the name, description, or type fields provided in the patch body. Can be used to publish a private collection as a publicgoverned collection by patching /type with publicgoverned once the collection contains at least 1 item. Can also be used to return a publicgoverned collection to private. Cannot be used to change between public (tag) and private / publicgoverned (collection).
Updates the name, description, or type fields provided in the patch body. Can be used to publish a private collection as a publicgoverned collection by patching /type with publicgoverned once the collection contains at least 1 item. Can also be used to return a publicgoverned collection to private. Cannot be used to change between public (tag) and private / publicgoverned (collection).
The collection's unique identifier.
an object with the body content
Optionaloptions: ApiCallOptionsUpdates a collection's name and description and returns the updated collection. Omitted and unsupported fields are ignored. To unset a field, provide the field's zero value.
Updates a collection's name and description and returns the updated collection. Omitted and unsupported fields are ignored. To unset a field, provide the field's zero value.
The collection's unique identifier.
an object with the body content
Optionaloptions: ApiCallOptions
Adds an item to a collection and returns the item.