Create annotation
Changed on Add annotations to a task like an annotator does. The content of the result field depends on your
labeling configuration. For example, send the following data as part of your POST
request to send an empty annotation with the ID of the user who completed the task:
```json
{
"result": {},
"was_cancelled": true,
"ground_truth": true,
"lead_time": 0,
"task": 0
"completed_by": 123
}
```
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/tasks/{id}/annotations/
- AuthAPI key in header Authorization
Path parameters
Task ID
Request body
Response
Created annotation
Changes
- breaking
the
request property format changed from no format todouble - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the media type
application/x-www-form-urlencodedto the request body - info
added the media type
multipart/form-datato the request body - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable
- breaking
- info
added to the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status
- info