Collections

Get the details about a collection using its ID

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

Responses
chevron-right
200

OK

application/json
get
/collections/{collectionId}

Deletes a collection

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

Responses
delete
/collections/{collectionId}

No content

Update the details of a collection

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

Body
titlestring · max: 50Optional

Title of the collection

descriptionstring · max: 100Optional

Description of the collection

defaultLevelone ofOptional

Default level for a piece of content

string · enum | nullableOptional

"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.

Possible values:
Responses
chevron-right
200

The collection has been updated

application/json
patch
/collections/{collectionId}

List all the spaces in a collection by its ID.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

Responses
chevron-right
200

OK

application/json
get
/collections/{collectionId}/spaces

Move a collection to a new position.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

Body
parentstring | nullableOptional

The unique id of the parent collection

Responses
chevron-right
200

Collection moved

application/json
post
/collections/{collectionId}/move

Transfer a collection to another organization.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

Body
organizationstringRequired

The unique id of the target organization

Responses
chevron-right
200

Collection transferred

application/json
post
/collections/{collectionId}/transfer

Invite to a collection

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

Body
or
Responses
post
/collections/{collectionId}/permissions

No content

Remove a team from a collection

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

teamIdstringRequired

The unique ID of the Team

Responses
delete
/collections/{collectionId}/permissions/teams/{teamId}

No content

Remove a user from a collection

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
collectionIdstringRequired

The unique id of the collection

userIdstringRequired

The unique ID of the User

Responses
delete
/collections/{collectionId}/permissions/users/{userId}

No content

Create an organization collection

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

Body
titlestring · max: 50Optional
parentstringOptional

ID of a parent collection

Responses
post
/orgs/{organizationId}/collections

Last updated

Was this helpful?