Collections
Create collection
Create a new collection. Use `type: "folder"` for simple grouping, `type: "playlist"` for ordered videos with progress tracking.
POST
Create a new collection. Use type: "folder" for simple grouping,
type: "playlist" for ordered videos with progress tracking.
bearerAuthheader
AuthorizationBearer <token>Authentication token from login or API key
Create collection data
application/json- body
name*stringdescription?string|null|nullthumbnailUrl?string|null|nullorganizationId*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$Format
uuidtype?|nullisPublic?boolean|null[key: string]?anyCollection created successfully
application/json- response
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$Format
uuidname*stringdescription*string|nullthumbnailUrl*string|nullorganizationId*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$Format
uuidtype*stringValue in
"folder""playlist"isPublic*booleanvideoCount*number|createdAt*stringupdatedAt*string[key: string]?anycurl -X POST 'https://nuclom.com/api/collections' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "thumbnailUrl": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "type": "folder", "isPublic": true, "videoCount": 0, "createdAt": "string", "updatedAt": "string"}