Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/346644/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-documenttreetranslations/zh/?format=api",
    "source": [
        "The root node id. This is useful if you want to display only the descendants of a given node (which is the specified root). The tree displays the children of the root node on the first level, so the root node is not actually displayed. The entire tree is displayed if the root node is not specified. The format of a node identifier is entityType:entityReference, where the entity type can be for instance wiki, space, document. E.g.: wiki:xwiki, space:xwiki:Main, document:xwiki:Main.WebHome"
    ],
    "previous_source": "",
    "target": [
        "根节点编号。如果您希望只显示给定节点(即特定根节点)的后代,这很有用。该树在第一层显示根节点的子节点,因此根节点实际上不会显示。如果未指定根节点,将显示整个树。节点标识符的格式是实体类型:实体引用,其中实体类型可以是例如Wiki、空间、文档,例如wiki:xwiki, space:xwiki:Main, document:xwiki:Main.WebHome。"
    ],
    "id_hash": 3004162129593239429,
    "content_hash": -2724598878418100676,
    "location": "",
    "context": "rendering.macro.documentTree.parameter.root.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 22,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 80,
    "source_unit": "https://l10n.xwiki.org/api/units/126746/?format=api",
    "priority": 100,
    "id": 346644,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-documenttreetranslations/zh/?checksum=a9b0ed8a46160785",
    "url": "https://l10n.xwiki.org/api/units/346644/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T21:46:28.523000Z"
}