List themes
GET/v2/themes
const url = 'https://api.ligr.live/rest/v2/themes?access=owned';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?access=owned' \ --header 'Authorization: Bearer <token>'Beta. This operation can change between minor versions. See Beta status.
Lists themes. By default (access=owned) the list holds the themes your organization owns. The
theme routes can change only these themes.
access=usable lists every theme your organization can use in theme profiles and control rooms:
the themes it owns, the themes LIGR linked to it, and the public themes. Only external Rive and
code themes are in this list. Inbuilt themes, the legacy themes built into LIGR, are not. A linked
theme is in the list when it has an active version. access on each item tells how your
organization gets the theme.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”owned (default) or usable. A staff theme key has no organization, so it can list only owned.
Responses
Section titled “Responses”Ok
One theme in GET /v2/themes.
object
Entity identifier
Sport keys the theme supports, for example football.
Theme version the overlays render. Null means no version is active.
How your organization gets the theme. owned: your organization owns it, and the theme routes
can change it. linked: LIGR linked it to your organization. public: every organization can
use it. Theme profiles and control rooms accept all three. The theme routes answer 404 for a
linked or public theme.
ISO 8601 timestamp.
Example
[ { "access": "owned" }]Request is invalid
object
object
Examplegenerated
{ "message": "example", "details": { "additionalProperty": "example" }}Missing or invalid api key
object
Examplegenerated
{ "message": "example"}Api key provides insufficient access for the request
object
Examplegenerated
{ "message": "example"}Theme not found
object
Examplegenerated
{ "message": "example"}Organization has made too many requests
object
Examplegenerated
{ "message": "example"}An unexpected error has occured. If problems persist please contact support
object
Examplegenerated
{ "message": "example"}