API reference · Account
Resolve a comment, or open it again
PATCH/api/studio/projects/{id}/comments/{cid}Signed in session
Whoever may open the film: its maker, and for a team's film every member whose role edits films (owner, admin, member). The signed in account; same origin for a write.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string | The project's id, stp_ followed by hex. |
| cid (path)required | string | The comment's id. |
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| resolvedrequired | boolean |
Example
{
"resolved": false
}Answer 200
The comment.
| Field | Type | What it is |
|---|---|---|
| id | string | |
| object | string | One of "studio.comment". |
| body | string | |
| at | number or null | The moment of the cut, seconds. |
| asset_id | string or null | The take it is on. |
| label | string or null | |
| author | object | Who saved or wrote it: you, or a teammate by their wallet, shortened. |
| author. | boolean | |
| author. | string or null | |
| created_at | integer | |
| resolved_at | integer or null | |
| resolved_by | object or null | |
| can_delete | boolean |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 403OpenAI shaped error.
- 404OpenAI shaped error.
- 429OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.