Units API.

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

GET /api/units/504959/?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/de/?format=api",
    "source": [
        "The id of the node to open the tree to. All the ancestors of the specified node, up to the root of the tree, will be opened also. The format of the node id is the one used for the root parameter."
    ],
    "previous_source": "",
    "target": [
        "Die ID des Knotens, zu dem der Baum geöffnet werden soll. Alle Vorfahren des angegebenen Knotens, bis hin zur Wurzel des Baumes, werden ebenfalls geöffnet."
    ],
    "id_hash": -2440042089112373799,
    "content_hash": 3764404507669122238,
    "location": "",
    "context": "rendering.macro.documentTree.parameter.openTo.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 32,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 42,
    "source_unit": "https://l10n.xwiki.org/api/units/126756/?format=api",
    "priority": 100,
    "id": 504959,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-documenttreetranslations/de/?checksum=5e233aa5d97475d9",
    "url": "https://l10n.xwiki.org/api/units/504959/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-12-31T03:31:28.647595Z"
}