List or Create Collections

View as Markdown

GET: List all collections accessible to the user, ordered by creation date. POST: Create a new collection with ordered experiences. Only published experiences belonging to the same publication can be added.

Request

This endpoint expects an object.
namestringRequired<=60 characters

Collection title (max 60 characters)

publication_idintegerRequired
descriptionstringOptional<=500 characters

Collection description (max 500 characters)

tag_nameslist of stringsOptional
visibilityenumOptional
  • public - Public
  • private - Private
  • team - Team
  • org - Organization
Allowed values:
experienceslist of maps from strings to integersOptional

List of dicts with ‘experience_id’ and ‘order’ keys. Required for creation.

Response

List of collections
idintegerRead-only
uidstringRead-onlyformat: "uuid"
namestring<=256 characters

Collection name (max 60 characters)

publicationobject
Minimal serializer for Publication, used in other serializers
tagsstringRead-only
experience_countintegerRead-only
ordered_experiencesstringRead-only
metricsstringRead-only
created_atdatetimeRead-only
updated_atdatetimeRead-only
ownerobject

Simple user serializer with profile picture from associated IAMUserDetail.

Fields:

  • id, email, full_name, username, is_verified (from IAMUser)
  • profile_picture (from first related IAMUserDetail if present)
descriptionstring<=512 characters

Collection description (max 500 characters)

visibilityenum
  • public - Public
  • private - Private
  • team - Team
  • org - Organization
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error