Units API.

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

GET /api/units/562176/?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-contrib/change-request-application-ui/en/?format=api",
    "source": [
        "The default policy is the safest but it prevents all scripts from being rendered, even if the scripts are part of the underlying document sheets. This posture can be relaxed by selecting one of the other approaches."
    ],
    "previous_source": "",
    "target": [
        "The default policy is the safest but it prevents all scripts from being rendered, even if the scripts are part of the underlying document sheets. This posture can be relaxed by selecting one of the other approaches."
    ],
    "id_hash": -5276631382002664004,
    "content_hash": 1886643819366118053,
    "location": "",
    "context": "ChangeRequest.Code.ConfigurationClass_renderedDiffComponent.hint",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 116,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 37,
    "source_unit": "https://l10n.xwiki.org/api/units/562176/?format=api",
    "priority": 100,
    "id": 562176,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-contrib/change-request-application-ui/en/?checksum=36c5a3b7010d7dbc",
    "url": "https://l10n.xwiki.org/api/units/562176/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-10T03:30:41.080902Z"
}