Cinema Studio

Change a comment, or resolve its thread

Change your own comment's words, or resolve or reopen a thread — as whoever started it, a member who files and reviews items, or one who manages comments. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

POST
/v1/studio/projects/{project}/comments/{comment}
POST
/v1/studio/projects/{project}/comments/{comment}
Change a comment, or resolve its thread
Change your own comment's words, or resolve or reopen a thread — as whoever started it, a member who files and reviews items, or one who manages comments.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
commentstringrequired
Change a comment, or resolve its thread
curl --request POST \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/comments/{comment}' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
{
  "object": "<string>",
  "id": "<string>",
  "item_id": "<string>",
  "parent_id": "<string>",
  "body": "<string>",
  "anchor": {
    "kind": "<string>",
    "x": 123,
    "y": 123,
    "start_ms": 123,
    "end_ms": 123,
    "at_ms": 123
  },
  "drawing": "<null or object[]>",
  "author": {
    "member_id": "<string>",
    "name": "<string>",
    "handle": "<string>",
    "avatar_url": "<string>",
    "left": true
  },
  "mine": true,
  "reactions": [
    {
      "id": "<string>",
      "count": 123,
      "mine": true
    }
  ],
  "replies": 123,
  "resolved_at": "<string>",
  "resolved_by": "<null or object>",
  "edited_at": "<string>",
  "deleted": true,
  "created_at": "<string>",
  "request_id": "<string>"
}
Change a comment, or resolve its thread
curl -X POST https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/comments/… \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
{
  "object": "<string>",
  "id": "<string>",
  "item_id": "<string>",
  "parent_id": "<string>",
  "body": "<string>",
  "anchor": {
    "kind": "<string>",
    "x": 123,
    "y": 123,
    "start_ms": 123,
    "end_ms": 123,
    "at_ms": 123
  },
  "drawing": "<null or object[]>",
  "author": {
    "member_id": "<string>",
    "name": "<string>",
    "handle": "<string>",
    "avatar_url": "<string>",
    "left": true
  },
  "mine": true,
  "reactions": [
    {
      "id": "<string>",
      "count": 123,
      "mine": true
    }
  ],
  "replies": 123,
  "resolved_at": "<string>",
  "resolved_by": "<null or object>",
  "edited_at": "<string>",
  "deleted": true,
  "created_at": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

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

Path Parameters

projectstringrequired
commentstringrequired

Body

application/json
bodystring
1 to 2000 characters.
resolvedboolean

Response

application/json

OK.

objectstringrequired
One of "comment".
idstringrequired
item_idstringrequired
parent_idstringrequired
May be null.
bodystringrequired
0 to 2000 characters.
anchorobjectrequired
Where a comment points: nowhere in particular, a point of a picture (pin, x and y from 0 to 1), a stretch of a clip or a song (range, whole milliseconds), or a point of a clip's frame at a moment (frame).
Show child attributes
kindstringrequired
One of "none", "pin", "range", "frame".
xnumber
0 to 1.
ynumber
0 to 1.
start_msinteger
0 to ….
end_msinteger
0 to ….
at_msinteger
0 to ….
drawingnull or object[]required
authorobjectrequired
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.
minebooleanrequired
reactionsobject[]required
Show child attributes
idstringrequired
One of "thumbs_up", "heart", "laugh", "wow", "party", "eyes", "fire", "check".
countintegerrequired
1 to ….
minebooleanrequired
repliesintegerrequired
0 to ….
resolved_atstringrequired
May be null.
resolved_bynull or objectrequired
edited_atstringrequired
May be null.
deletedbooleanrequired
Deleted with replies under it: kept as a line saying so, its words gone.
created_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?

Change a comment, or resolve its thread
curl -X POST https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/comments/… \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
{
  "object": "<string>",
  "id": "<string>",
  "item_id": "<string>",
  "parent_id": "<string>",
  "body": "<string>",
  "anchor": {
    "kind": "<string>",
    "x": 123,
    "y": 123,
    "start_ms": 123,
    "end_ms": 123,
    "at_ms": 123
  },
  "drawing": "<null or object[]>",
  "author": {
    "member_id": "<string>",
    "name": "<string>",
    "handle": "<string>",
    "avatar_url": "<string>",
    "left": true
  },
  "mine": true,
  "reactions": [
    {
      "id": "<string>",
      "count": 123,
      "mine": true
    }
  ],
  "replies": 123,
  "resolved_at": "<string>",
  "resolved_by": "<null or object>",
  "edited_at": "<string>",
  "deleted": true,
  "created_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.