Units API.

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

GET /api/units/2359452/?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/validity/uk/?format=api",
    "source": [
        "Validity is most important for polygons, which define bounded areas and require a good deal of structure. Lines are very simple and cannot be invalid, nor can points."
    ],
    "previous_source": "",
    "target": [
        "Валідність є найважливішою для полігонів, які визначають обмежені області і вимагають значної структури. Лінії є дуже простими і не можуть бути недійсними, так само як і точки."
    ],
    "id_hash": -1545514696988177758,
    "content_hash": -1545514696988177758,
    "location": "../../en/validity.rst:11",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 4,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 28,
    "source_unit": "https://weblate.osgeo.org/api/units/98533/?format=api",
    "priority": 100,
    "id": 2359452,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/uk/?checksum=6a8d3a9252dfcaa2",
    "url": "https://weblate.osgeo.org/api/units/2359452/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-08-09T13:57:38.103470Z"
}