AirframeDocs

Get the output's composition

GET/v1/outputs/{id}/composition

Send an API key as a bearer token.

The composition an output is linked to, the version it plays, and the newest version published, so you can tell when there's an update.

Path parameters

idstringRequired
The output's id.

Response

compositionobject | null
The linked composition's id and name, or null if it has none yet.
activeobject | null
The version it plays: compositionId, versionId and versionNumber.
latestVersioninteger | null
The composition's newest version number. When it's higher than active.versionNumber, there's a newer version to move to.