document
v1
POST /api/v1/document/document-notes/
Changed onCreate Document Note
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"field_id": "field_id",
"note": "note",
"selections": [
"{}",
"{}"
],
"location_start": 441289069,
"user_id": "user_id",
"location_end": -1517921766,
"pk": 0,
"field_value_id": 5,
"document_id": 5,
"user": {
"initials": "initials",
"name": "name",
"last_name": "last_name",
"photo": "photo",
"pk": 6,
"first_name": "first_name",
"username": "username"
},
"timestamp": "2000-01-23T04:56:07.000+00:00",
"username": "username"
}Response
Example response
{
"field_id": "field_id",
"note": "note",
"selections": [
"{}",
"{}"
],
"location_start": 441289069,
"user_id": "user_id",
"location_end": -1517921766,
"pk": 0,
"field_value_id": 5,
"document_id": 5,
"user": {
"initials": "initials",
"name": "name",
"last_name": "last_name",
"photo": "photo",
"pk": 6,
"first_name": "first_name",
"username": "username"
},
"timestamp": "2000-01-23T04:56:07.000+00:00",
"username": "username"
}Changes
- info
added the new optional request property
/(media type: application/json) - info
added the new optional request property
/(media type: application/x-www-form-urlencoded) - info
added the new optional request property
/(media type: multipart/form-data) - info
added the optional property
/to the response with the status
- info
- warning
removed the request property
/(media type: application/json) - warning
removed the request property
/(media type: application/x-www-form-urlencoded) - warning
removed the request property
/(media type: multipart/form-data) - warning
removed the optional property
/from the response with the status - info
added the optional property
to the response with the status
- warning