Units API.

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

GET /api/units/2339861/?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/loading_data/sv/?format=api",
    "source": [
        "Mandatory files:"
    ],
    "previous_source": "",
    "target": [
        "Obligatoriska filer:"
    ],
    "id_hash": 4885761884402372043,
    "content_hash": 4885761884402372043,
    "location": "../../en/loading_data.rst:140",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 38,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 2,
    "source_unit": "https://weblate.osgeo.org/api/units/104300/?format=api",
    "priority": 100,
    "id": 2339861,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/loading_data/sv/?checksum=c3cdb68c48f24dcb",
    "url": "https://weblate.osgeo.org/api/units/2339861/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T12:50:47.108458Z"
}