List graphic revisions
GET/v2/themes/{themeId}/rive-graphics/{graphicId}/revisions
const url = 'https://api.ligr.live/rest/v2/themes/1/rive-graphics/example/revisions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ligr.live/rest/v2/themes/1/rive-graphics/example/revisions \ --header 'Authorization: Bearer <token>'Beta. This operation can change between minor versions. See Beta status.
List every runtime revision attached to the graphic, newest first, with the published versions
that pin each one. Download one with GET files/{kind}?version=working&revisionId=….
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Ok
object
Newest first.
object
Revisions the version’s Rive assets pin.
Newest first.
object
The working draft plays this revision.
Published graphic versions that pin this revision.
What the repair changed when this revision was imported. Null when nothing was repaired.
object
object
reference-cleared, leftover-removed or editor-field-cleared.
The Rive object type, or * for a group of mixed types.
Where the repair is in the Rive editor. Null for leftovers outside any artboard.
Up to 20 specific places inside the location, for example a transition.
The first version published after this upload. Null while that draft is still the working draft.
Example
{ "revisions": [ { "sourceKind": "runtime" } ]}Invalid Rive request
object
Examplegenerated
{ "message": "example", "code": "example"}Theme, import, graphic, version, or file not found
object
Examplegenerated
{ "message": "example", "code": "example"}Rive import or graphic state conflict
object
Examplegenerated
{ "message": "example", "code": "example"}Rive candidate or source is no longer available
object
Examplegenerated
{ "message": "example", "code": "example"}Rive file or configuration cannot be used
object
Examplegenerated
{ "message": "example", "code": "example"}Rive source imports are unavailable
object
Examplegenerated
{ "message": "example", "code": "example"}