Download OpenAPI specification:Download
Endpoint to process annotation actions including creation, deletion, and update. This is part of post request in painting view.
| painting_id required | integer The ID of the painting. |
| action | string Enum: "getAnnotation" "createAnnotation" "deleteAnnotation" "updateAnnotation" |
| annotation | string |
| previous | string |
{- "action": "getAnnotation",
- "annotation": "string",
- "previous": "string"
}{- "message": "string",
- "data": { }
}