Skip to content

Files

Files (images, audio, video, documents) are uploaded to the repository and then referenced by their id.

PUT /v2/edit/{repoId}/file with a multipart/form-data body containing the field file. The response contains the file entity with its id.

  • As logo of a story, challenge or element: content.logo is the file id.
  • As attachment: content.files is a list of { "binaryId": "<file id>", "access": "<access level>" }.
  • In texts: images, galleries, audio and video are embedded with Markdown assets, see Content.

The access level of an attached file decides who can download it:

Access Who can get the file
Public everyone, also without login (e.g. on public landing pages)
Account every logged in player of the story
Attendee only players of the session
Progress only players of a session in which the element has been released – use it for content that must not be seen before the player gets there (e.g. a hint or the solution of a riddle)