Units API.

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

GET /api/units/2340067/?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/sv/?format=api",
    "source": [
        "Elements of multi-polygons may not touch each other."
    ],
    "previous_source": "",
    "target": [
        "Element i multipolygoner får inte röra vid varandra."
    ],
    "id_hash": 3097552135095748492,
    "content_hash": 3097552135095748492,
    "location": "../../en/validity.rst:19",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 10,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 8,
    "source_unit": "https://weblate.osgeo.org/api/units/98550/?format=api",
    "priority": 100,
    "id": 2340067,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/sv/?checksum=aafcb7415da2878c",
    "url": "https://weblate.osgeo.org/api/units/2340067/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T13:26:32.520284Z"
}