Units API.

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

GET /api/units/562881/?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-core-resources/km/?format=api",
    "source": [
        "For security reasons, at least one of the compared documents is displayed in restricted mode as it is not the current version. There may be differences and errors due to this."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 5279029509769414420,
    "content_hash": 6990141301682445946,
    "location": "",
    "context": "web.history.changes.restrictedInfo",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 1510,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 31,
    "source_unit": "https://l10n.xwiki.org/api/units/562847/?format=api",
    "priority": 100,
    "id": 562881,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-core-resources/km/?checksum=c942e15ea09c4714",
    "url": "https://l10n.xwiki.org/api/units/562881/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-03-16T03:31:58.048830Z"
}