remagicaDocs home
API referenceLibrary

Set review status

POST
/library/items/review-status

Needs a key withlibrary:write

Sets (or, with null, clears) the review status of several items at once: To do, In progress, Under review or Done.

Requires scope library:write.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Request Body

application/json
  1. body
itemIds*array<>
Items1 <= items <= 200
reviewStatus*|

The review status; null clears it.

Response Body

How many items changed.

application/json
  1. response
updated*integer

Items changed.

Example Request
curl -X POST 'https://api.remagica.com/api/v1/library/items/review-status' \  -H 'Content-Type: application/json' \  -d '{  "itemIds": [    "string"  ],  "reviewStatus": "todo"}'
Example Response
{  "updated": 1}