Cinema Studio

List comments

A project's comments, or one item's: threads in the order they were started, each reply after its thread; open threads unless asked otherwise. 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/projects/{project}/comments
GET
/v1/studio/projects/{project}/comments
List comments
A project's comments, or one item's: threads in the order they were started, each reply after its thread; open threads unless asked otherwise.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
cursorstring
The next_cursor the previous page answered, unchanged, with the same filters. None for the first page. 0 to 120 characters.
limitinteger
How many on a page. 1 to 100.
itemstring
One item's comments.
statestring
One of "open", "resolved", "all".
List comments
curl --request GET \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/comments' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "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>"
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}
List comments
curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/comments \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "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>"
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

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

Path Parameters

projectstringrequired

Query Parameters

cursorstring
The next_cursor the previous page answered, unchanged, with the same filters. None for the first page. 0 to 120 characters.
limitinteger
How many on a page. 1 to 100.
itemstring
One item's comments.
statestring
One of "open", "resolved", "all".

Response

application/json

OK.

objectstringrequired
One of "list".
dataobject[]required
Show child attributes
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
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 comments
curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/comments \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "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>"
    }
  ],
  "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.