Units API.

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

GET /api/units/2338803/?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/welcome/sv/?format=api",
    "source": [
        "SQL query examples will be displayed in an offset box"
    ],
    "previous_source": "",
    "target": [
        "Exempel på SQL-frågor visas i en offset-ruta"
    ],
    "id_hash": 7185691552415100669,
    "content_hash": 7185691552415100669,
    "location": "../../en/welcome.rst:23",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 9,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 10,
    "source_unit": "https://weblate.osgeo.org/api/units/104447/?format=api",
    "priority": 100,
    "id": 2338803,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/welcome/sv/?checksum=e3b8b4653f3a2efd",
    "url": "https://weblate.osgeo.org/api/units/2338803/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-03T18:14:38.760122Z"
}