Units API.

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

GET /api/units/2340045/?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/security/sv/?format=api",
    "source": [
        "Here is an example ``pg_hba.conf`` file:"
    ],
    "previous_source": "",
    "target": [
        "Här är ett exempel på filen ``pg_hba.conf``:"
    ],
    "id_hash": 1171336614233666997,
    "content_hash": 1171336614233666997,
    "location": "../../en/security.rst:224",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 56,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 6,
    "source_unit": "https://weblate.osgeo.org/api/units/100247/?format=api",
    "priority": 100,
    "id": 2340045,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/security/sv/?checksum=90416c71d3ce75b5",
    "url": "https://weblate.osgeo.org/api/units/2340045/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T13:08:33.954798Z"
}