API reference

API reference · Account

A film's earlier versions

GET/api/studio/projects/{id}/versionsSigned in session

The documents earlier saves replaced, newest first, each with who saved it and what it changed, and what changed since the newest. A save keeps the document it replaces once the newest kept one is a few minutes old; they thin as they age, at most 40 a film. Whoever may open the film: its maker, and for a team's film every member whose role edits films (owner, admin, member). The signed in account; same origin for a write.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe project's id, stp_ followed by hex.

Answer 200

The history.

Fields of the 200 answer
FieldTypeWhat it is
objectstring
dataarray of object
data[].idstring
data[].objectstringOne of "studio.project.version".
data[].versioninteger
data[].namestring
data[].aspectstring
data[].bytesinteger
data[].shotsinteger
data[].secondsnumber
data[].saved_atinteger
data[].saved_byobjectWho saved or wrote it: you, or a teammate by their wallet, shortened.
data[].saved_by.youboolean
data[].saved_by.labelstring or null
data[].changesobject or nullWhat this version changed from the one kept before it; null for the oldest.
data[].changes.renamedboolean
data[].changes.aspectboolean
data[].changes.shotsinteger
data[].changes.clipsinteger
data[].changes.mediainteger
data[].changes.directedinteger
data[].changes.movedinteger
data[].changes.secondsnumber
currentobject
current.versioninteger
current.saved_atinteger
current.saved_byobjectWho saved or wrote it: you, or a teammate by their wallet, shortened.
current.saved_by.youboolean
current.saved_by.labelstring or null
current.changesobject or nullWhat this version changed from the one kept before it; null for the oldest.
current.changes.renamedboolean
current.changes.aspectboolean
current.changes.shotsinteger
current.changes.clipsinteger
current.changes.mediainteger
current.changes.directedinteger
current.changes.movedinteger
current.changes.secondsnumber

Errors

  • 401OpenAI shaped error.
  • 404OpenAI shaped error.
  • 429OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter