Cinema Studio

Set an item's review status

Set an item's review status, with a note. Setting the status it already has is kept as a line of its own, the note being the point of it. A request for review tells the project; an approval or a rejection tells the item's maker. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

POST
/v1/studio/projects/{project}/items/{item}/reviews
POST
/v1/studio/projects/{project}/items/{item}/reviews
Set an item's review status
Set an item's review status, with a note.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
itemstringrequired
Set an item's review status
curl --request POST \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/items/{item}/reviews' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
{
  "object": "<string>",
  "id": "<string>",
  "item_id": "<string>",
  "from": "<string>",
  "to": "<string>",
  "note": "<string>",
  "by": {
    "member_id": "<string>",
    "name": "<string>",
    "handle": "<string>",
    "avatar_url": "<string>",
    "left": true
  },
  "at": "<string>",
  "request_id": "<string>"
}
Set an item's review status
curl -X POST https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/items/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d/reviews \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "status": "needs_review",
  "note": "Check the colours against the palette."
}'
{
  "object": "<string>",
  "id": "<string>",
  "item_id": "<string>",
  "from": "<string>",
  "to": "<string>",
  "note": "<string>",
  "by": {
    "member_id": "<string>",
    "name": "<string>",
    "handle": "<string>",
    "avatar_url": "<string>",
    "left": true
  },
  "at": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

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

Path Parameters

projectstringrequired
itemstringrequired

Body

application/json
statusstringrequired
One of "none", "in_progress", "needs_review", "approved", "rejected".
notestring
0 to 500 characters. May be null.

Response

application/json

Created.

objectstringrequired
One of "review".
idstringrequired
item_idstringrequired
fromstringrequired
One of "none", "in_progress", "needs_review", "approved", "rejected".
tostringrequired
One of "none", "in_progress", "needs_review", "approved", "rejected".
notestringrequired
0 to 500 characters. May be null.
byobjectrequired
Somebody as a project shows them: their membership's id while they are in it and the public Community profile they chose — never an account or an address.
Show child attributes
member_idstringrequired
May be null.
namestringrequired
May be null.
handlestringrequired
May be null.
avatar_urlstringrequired
A URL. May be null.
leftbooleanrequired
Gone from the project since; what they wrote stays, with their name.
atstringrequired
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?

Set an item's review status
curl -X POST https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/items/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d/reviews \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "status": "needs_review",
  "note": "Check the colours against the palette."
}'
{
  "object": "<string>",
  "id": "<string>",
  "item_id": "<string>",
  "from": "<string>",
  "to": "<string>",
  "note": "<string>",
  "by": {
    "member_id": "<string>",
    "name": "<string>",
    "handle": "<string>",
    "avatar_url": "<string>",
    "left": true
  },
  "at": "<string>",
  "request_id": "<string>"
}

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