document
v1

GET /api/v1/document/textunits/{id}/

Changed on

Retrieve TextUnit

Request

Path parameters

idstring required

A unique integer value identifying this text unit.

Query parameters

qstring

Search parameters for djangoQL

Response

idinteger
unit_typestring required
textstring nullable
project_idstring
project_namestring required
document_idstring
document_namestring required

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

    • info

      the response optional property became read-only for the status