API reference

API reference · Account

Who a film is with

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

The team it is kept under, its maker, and the reader's teams where their role edits films. 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

Who it is with.

Fields of the 200 answer
FieldTypeWhat it is
objectstring
project_idstring
teamobject or null
makerobjectWho saved or wrote it: you, or a teammate by their wallet, shortened.
maker.youboolean
maker.labelstring or null
teamsarray of object
teams[].idinteger
teams[].namestring
teams[].rolestring
can_giveboolean
can_take_backboolean

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