Units API.

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

GET /api/units/2310711/?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/grass-gis/grasswxpy/fi/?format=api",
    "source": [
        "Module {task_name} in your model contains parameterized flags. Actinia does not support parameterized flags. The following flags are therefore not being written in the generated JSON: {flags}"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -3691206178178446447,
    "content_hash": -3691206178178446447,
    "location": "../gui/wxpython/gmodeler/model_convert.py:233",
    "context": "",
    "note": "",
    "flags": "python-brace-format",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 745,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 27,
    "source_unit": "https://weblate.osgeo.org/api/units/2310362/?format=api",
    "priority": 100,
    "id": 2310711,
    "web_url": "https://weblate.osgeo.org/translate/grass-gis/grasswxpy/fi/?checksum=4cc63389acf24b91",
    "url": "https://weblate.osgeo.org/api/units/2310711/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-23T19:40:00.564987Z"
}