API reference

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

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe share's id.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
job_idrequiredstring

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.

Antimatter