Units API.

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

GET /api/units/2314955/?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/grass-gis/grasslibs/sv/?format=api",
    "source": [
        "Region file %s/%s/%s is empty"
    ],
    "previous_source": "",
    "target": [
        "Regionfilen %s/%s/%s är tom"
    ],
    "id_hash": 4352861796922531760,
    "content_hash": 4352861796922531760,
    "location": "../lib/gis/get_window.c:129",
    "context": "",
    "note": "",
    "flags": "c-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 216,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 5,
    "source_unit": "https://weblate.osgeo.org/api/units/475299/?format=api",
    "priority": 100,
    "id": 2314955,
    "web_url": "https://weblate.osgeo.org/translate/grass-gis/grasslibs/sv/?checksum=bc6878bde9ef9fb0",
    "url": "https://weblate.osgeo.org/api/units/2314955/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-03T15:32:19.827321Z"
}