API reference · Account
Count a remix of a shared take
POST/api/studio/like/{id}Signed in session
The take a press made has landed, so it counts once toward the share's remixes, which rank the feed. Only the person's own completed job counts. The signed in account; same origin for a write.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string | The share's id. |
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| job_idrequired | string |
Example
{
"job_id": "string"
}Answer 200
Counted, or already counted.
The answer's fields are not named in the document.
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 404OpenAI shaped error.
- 409OpenAI 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.