v1
latestOpenAPI 3.0.22026-07-17373198641.7 KBdocument
v1
Create batch of annotations
PUT Params:
- operation_uid: uid
- action: str ["save", "delete"]
- id: int - PK of DocumentFieldValue
- data: {"document": id, "field": uid, "location_start": int, "location_end": int, "value": val}
put/api/v1/document/annotations/batch/
Request body
Example request
[
{
"data": "{}",
"operation_uid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"action": "delete",
"id": 0
}
]Response
Example response
[
{
"data": "{}",
"operation_uid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "status"
}
]