Units API.

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

GET /api/units/2360491/?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_exercises/uk/?format=api",
    "source": [
        "Total number of people in the census block"
    ],
    "previous_source": "",
    "target": [
        "Загальна кількість людей у переписному блоці"
    ],
    "id_hash": -8637333688359982042,
    "content_hash": -8637333688359982042,
    "location": "../../en/simple_sql_exercises.rst:16",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 7,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 8,
    "source_unit": "https://weblate.osgeo.org/api/units/98855/?format=api",
    "priority": 100,
    "id": 2360491,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/simple_sql_exercises/uk/?checksum=082206c5e2c9ec26",
    "url": "https://weblate.osgeo.org/api/units/2360491/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-08-12T00:12:10.514152Z"
}