collections
Create a collection
post/api/collections
Request body
titlestring required
descriptionstring
namespacestring required
privateboolean
If not provided, the collection will be public. This field will respect the organization's visibility setting.
resourceGroupIdstring
Assign the collection to a resource group of the owning organization. Only valid for organization-owned collections.
Response
The created collection
slugstring required
titlestring required
descriptionstring
lastUpdatedstring date-time required
positionnumber required
theme'orange' | 'blue' | 'green' | 'purple' | 'pink' | 'indigo' required
privateboolean required
upvotesnumber required
shareUrlstring required
isUpvotedByUserboolean required