Units API.

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

GET /api/units/2316570/?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": [
        "\n++ Running basic unit tests ++"
    ],
    "previous_source": "",
    "target": [
        "\n++ Körning av grundläggande enhetstester ++"
    ],
    "id_hash": 4983239708892886251,
    "content_hash": 4983239708892886251,
    "location": "../lib/vector/rtree/test_suite/test_basics.c:40",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1835,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 6,
    "source_unit": "https://weblate.osgeo.org/api/units/476073/?format=api",
    "priority": 100,
    "id": 2316570,
    "web_url": "https://weblate.osgeo.org/translate/grass-gis/grasslibs/sv/?checksum=c528061ce72e74eb",
    "url": "https://weblate.osgeo.org/api/units/2316570/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-03T15:32:24.726526Z"
}