Units API.

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

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

{
    "translation": "https://weblate.osgeo.org/api/translations/postgis/postgis-manual/zh_Hans/?format=api",
    "source": [
        "<code>max_vertices</code> must be 5 or more, as 5 points are needed to represent a closed box."
    ],
    "previous_source": "",
    "target": [
        "<code>max_vertices</code> 必须不小于 5,因为表示一个封闭盒子至少需要 5 个点。"
    ],
    "id_hash": -7370307717809878441,
    "content_hash": -7370307717809878441,
    "location": "",
    "context": "",
    "note": "Tag: para",
    "flags": "no-c-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 3079,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 16,
    "source_unit": "https://weblate.osgeo.org/api/units/2303015/?format=api",
    "priority": 100,
    "id": 2303267,
    "web_url": "https://weblate.osgeo.org/translate/postgis/postgis-manual/zh_Hans/?checksum=19b7682e229f4a57",
    "url": "https://weblate.osgeo.org/api/units/2303267/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-28T10:02:33.793197Z"
}