document
v1
GET /api/v1/document/textunits/{id}/
Changed onRetrieve TextUnit
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.
Path parameters
idstring required
A unique integer value identifying this text unit.
Query parameters
qstring
Search parameters for djangoQL
Response
Example response
{
"document_name": "document_name",
"project_id": "project_id",
"id": 0,
"text": "text",
"unit_type": "unit_type",
"project_name": "project_name",
"document_id": "document_id"
}Changes
- breaking
the response property
became nullable for the status - info
the response optional property
became not read-only for the status
- breaking
- info
the response optional property
became read-only for the status
- info