an object with query parameters
Optional
creatorId?: stringThe case-sensitive string used to search for a resource by creatorId.
Optional
id?: stringThe collection's unique identifier.
Optional
includeItems?: 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.
Optional
limit?: numberThe maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive).
Optional
name?: stringThe case-sensitive string used to search for a collection by name.
Optional
next?: stringThe cursor to the next page of resources. Provide either the next or prev cursor, but not both.
Optional
prev?: stringThe cursor to the previous page of resources. Provide either the next or prev cursor, but not both.
Optional
query?: stringThe case-insensitive string used to search for a resource by name or description.
Optional
sort?: "-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.
Optional
type?: 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
.
Optional
types?: CollectionTypes[]A comma-separated case-sensitive string used to filter by multiple types.
Optional
options: ApiCallOptions
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
.