Units API.

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

GET /api/units/2316561/?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": [
        "Error in read/write portable short, byte_order = %d Written: %d Read: %d"
    ],
    "previous_source": "",
    "target": [
        "Fel i läs/skriv portabel kort, byte_order = %d Skrivet: %d Läst: %d"
    ],
    "id_hash": 990850579477012994,
    "content_hash": 990850579477012994,
    "location": "../lib/vector/diglib/test.c:152",
    "context": "",
    "note": "",
    "flags": "c-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1826,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 12,
    "source_unit": "https://weblate.osgeo.org/api/units/476009/?format=api",
    "priority": 100,
    "id": 2316561,
    "web_url": "https://weblate.osgeo.org/translate/grass-gis/grasslibs/sv/?checksum=8dc0355a2f37a202",
    "url": "https://weblate.osgeo.org/api/units/2316561/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-03T15:32:24.692327Z"
}