Collections

Groups of related resources within the workspace. Learn more about collections here.

List Collections

get
/api/v1/collection/collections

This endpoint allows you to retrieve a list of collections. You can optionally filter the collections by title using the "title" query parameter.

Authorizations
Query parameters
titlestringOptional

Filter collections by title (optional)

Example: Sample Collection
Responses
200

List of collections.

application/json
get
/api/v1/collection/collections

Create Collection

post
/api/v1/collection/collections

This endpoint allows you to create a new collection. Note, adding resources to a collection through the API must be done on the resource that is added (by adding the collection_id to the collections parameter). Related resources cannot be added using the /collection/collections endpoints.

Authorizations
Body
Responses
post
/api/v1/collection/collections

Get Collection

get
/api/v1/collection/collections/{collection_id}

This endpoint allows you to retrieve a collection by its unique identifier (collection_id).

Authorizations
Path parameters
collection_idstringRequired

The unique identifier of the collection

Example: 3ea9a7c2-9538-46a0-899d-b2018c80113c
Responses
200

Collection retrieved successfully

application/json
get
/api/v1/collection/collections/{collection_id}

Delete Collection

delete
/api/v1/collection/collections/{collection_id}

This endpoint allows you to delete a collection by its unique identifier (collection_id).

Authorizations
Path parameters
collection_idstringRequired

The unique identifier of the collection to delete

Example: 3ea9a7c2-9538-46a0-899d-b2018c80113c
Responses
delete
/api/v1/collection/collections/{collection_id}

No content

Edit Collection

patch
/api/v1/collection/collections/{collection_id}

Use this endpoint to update collections. Note, adding resources to a collection through the API must be done on the resource that is added (by adding the collection_id to the collections parameter). Related resources cannot be added using the /collection/collections endpoints.

Authorizations
Path parameters
collection_idstringRequired

The unique identifier of the collection to edit

Example: 3ea9a7c2-9538-46a0-899d-b2018c80113c
Body
descriptionstringOptional

A description of the resource.

Example: This is a description for a sample table.
definitionstringOptional

Mark down documentation to be added to the resource.

Example: \n# Castae illa\n\n## Finemque aequore\n\nLorem markdownum motus
piibooleanOptional

Indicates whether the resource contains personally identifiable information (PII). Values can be - True False

Example: false
verifiedbooleanOptional

Indicates whether the table has been set as verified. Values can be - True False

Example: true
publishedbooleanOptional

Indicates if the resource is visible to viewers or not. Values can be - True False

Example: true
teamsstring[]Optional

A list of team IDs that the resource belongs to.

Example: ["e8ac09ed-e51e-4e61-8eaf-59942c98c260","cca810f1-11c1-4117-bc23-20ae8020897f"]
ownersstring[]Optional

A list of owner user IDs for the resource.

Example: ["33733f42-8ff7-460b-9e20-50a2133d3bb0","c90dedee-40ee-47ec-9c27-96dc3b2ec363"]
collectionsstring[]Optional

A list of collection IDs the resource belongs to.

Example: ["3b2c7185-fb5d-4d94-89d4-3dae08e093a9"]
tagsstring[]Optional

A list of tag IDs associated with the resources.

Example: ["04654d61-4f64-4f08-b697-3915b5137c49","429693a2-a5e7-4525-b413-ece5e96bc5b3"]
subscribersstring[]Optional

A list of the added user IDs that have been subscribed to the resource. Anyone subscribed will be notified of any changes.

Example: ["c90dedee-40ee-47ec-9c27-96dc3b2ec363"]
Responses
200

Description updated successfully

application/json
patch
/api/v1/collection/collections/{collection_id}

Last updated

Was this helpful?