Cinema Studio

List saved presets

Your saved palettes and lighting rigs, newest change first. Takes a key holding studio:read (or studio:write, which reads too) — Account offers both unticked — or the desktop's own session key. Spends nothing.

GET
/v1/studio/presets
GET
/v1/studio/presets
List saved presets
Your saved palettes and lighting rigs, newest change first.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
kindstring
One of "palette", "lighting".
List saved presets
curl --request GET \
  --url 'https://api.auray.ai/v1/studio/presets' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "kind": "<string>",
      "name": "<string>",
      "palette": {
        "name": "<string>",
        "swatches": "<string[]>"
      },
      "rig": {
        "lights": [
          {
            "color": "<string>",
            "intensity": 123,
            "diffusion": 123,
            "azimuth": 123,
            "elevation": 123
          }
        ],
        "ambient": {
          "color": "<string>",
          "intensity": 123
        }
      },
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}
List saved presets
curl https://api.auray.ai/v1/studio/presets \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "kind": "<string>",
      "name": "<string>",
      "palette": {
        "name": "<string>",
        "swatches": "<string[]>"
      },
      "rig": {
        "lights": [
          {
            "color": "<string>",
            "intensity": 123,
            "diffusion": 123,
            "azimuth": 123,
            "elevation": 123
          }
        ],
        "ambient": {
          "color": "<string>",
          "intensity": 123
        }
      },
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — studio:read, or studio:write, which reads too — Account offers both unticked; the desktop's session key holds both.

Query Parameters

kindstring
One of "palette", "lighting".

Response

application/json

OK.

objectstringrequired
One of "list".
dataobject[]required
Show child attributes
objectstringrequired
One of "preset".
idstringrequired
kindstringrequired
One of "palette", "lighting".
namestringrequired
0 to 60 characters.
paletteobject
Show child attributes
namestringrequired
0 to 60 characters.
swatchesstring[]required
rigobject
Show child attributes
lightsobject[]required
Show child attributes
colorstringrequired
intensitynumberrequired
0 to 1.
diffusionnumberrequired
0 a bare bulb, 1 a cloud. 0 to 1.
azimuthnumberrequired
Degrees around the subject, 0 in front. 0 to ….
elevationnumberrequired
-90 to 90.
ambientobjectrequired
Show child attributes
colorstringrequired
intensitynumberrequired
0 to 1.
created_atstringrequired
updated_atstringrequired
next_cursorstringrequired
Send it as cursor for the next page; null on the last. May be null.
request_idstring
Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

Was this page helpful?

List saved presets
curl https://api.auray.ai/v1/studio/presets \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "kind": "<string>",
      "name": "<string>",
      "palette": {
        "name": "<string>",
        "swatches": "<string[]>"
      },
      "rig": {
        "lights": [
          {
            "color": "<string>",
            "intensity": 123,
            "diffusion": 123,
            "azimuth": 123,
            "elevation": 123
          }
        ],
        "ambient": {
          "color": "<string>",
          "intensity": 123
        }
      },
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.