Units API.

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

GET /api/units/2360762/?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-workshop/simple_sql/uk/?format=api",
    "source": [
        "then enter the following query in to the query window"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -2023684897651416972,
    "content_hash": -2023684897651416972,
    "location": "../../en/simple_sql.rst:20",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 6,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 10,
    "source_unit": "https://weblate.osgeo.org/api/units/99038/?format=api",
    "priority": 100,
    "id": 2360762,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/simple_sql/uk/?checksum=63ea6d4eba2a2074",
    "url": "https://weblate.osgeo.org/api/units/2360762/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-08-13T16:16:06.536864Z"
}