Units API.

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

GET /api/units/2340077/?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/validity/sv/?format=api",
    "source": [
        "Now we know that the feature is invalid, but we don't know why. We can use the :command:`ST_IsValidReason(geometry)` function to find out the source of the invalidity:"
    ],
    "previous_source": "",
    "target": [
        "Nu vet vi att funktionen är ogiltig, men vi vet inte varför. Vi kan använda funktionen :command:`ST_IsValidReason(geometry)` för att ta reda på källan till ogiltigheten:"
    ],
    "id_hash": 3287607699251323512,
    "content_hash": 3287607699251323512,
    "location": "../../en/validity.rst:69",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 20,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 27,
    "source_unit": "https://weblate.osgeo.org/api/units/98603/?format=api",
    "priority": 100,
    "id": 2340077,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/sv/?checksum=ad9fedc8b2b6e278",
    "url": "https://weblate.osgeo.org/api/units/2340077/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T13:26:32.546382Z"
}