Units API.

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

GET /api/units/565731/?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/macros-treetranslations/uk/?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."
    ],
    "previous_source": "",
    "target": [
        "Id кореневого вузла. Це корисно, якщо ви бажаєте відобразити лише нащадків певного вузла (який є вказаним коренем). У дереві відображаються дочірні елементи кореневого вузла на першому рівні, тому кореневий вузол насправді не відображається. Якщо не вказано кореневий вузол, відображається все дерево."
    ],
    "id_hash": 4084112245093269576,
    "content_hash": -8292233865466165071,
    "location": "",
    "context": "rendering.macro.tree.parameter.root.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 6,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 57,
    "source_unit": "https://l10n.xwiki.org/api/units/127018/?format=api",
    "priority": 100,
    "id": 565731,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/macros-treetranslations/uk/?checksum=b8adae72c79b8048",
    "url": "https://l10n.xwiki.org/api/units/565731/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-20T11:22:57.876675Z"
}