Cinema Studio

Mark Studio notifications read

Mark some notifications read (ids), or all of them; answers how many were marked and how many are still unread.

POST
/v1/studio/notifications/read
POST
/v1/studio/notifications/read
Mark Studio notifications read
Mark some notifications read (ids), or all of them; answers how many were marked and how many are still unread.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
Mark Studio notifications read
curl --request POST \
  --url 'https://api.auray.ai/v1/studio/notifications/read' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
{
  "object": "<string>",
  "read": 123,
  "unread": 123,
  "request_id": "<string>"
}
Mark Studio notifications read
curl -X POST https://api.auray.ai/v1/studio/notifications/read \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "all": true
}'
{
  "object": "<string>",
  "read": 123,
  "unread": 123,
  "request_id": "<string>"
}

Mark some notifications read (ids), or all of them; answers how many were marked and how many are still unread. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — a key with the scope the route names.

Body

application/json
idsstring[]
allboolean

Response

application/json

OK.

objectstringrequired
One of "notifications_read".
readintegerrequired
unreadintegerrequired
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?

Mark Studio notifications read
curl -X POST https://api.auray.ai/v1/studio/notifications/read \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "all": true
}'
{
  "object": "<string>",
  "read": 123,
  "unread": 123,
  "request_id": "<string>"
}

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