Units API.

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

GET /api/units/2315010/?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": [
        "%s: Sorry, <%c> is not a valid flag"
    ],
    "previous_source": "",
    "target": [
        "%s: Tyvärr, <%c> är inte en giltig flagga"
    ],
    "id_hash": 6829036841924633330,
    "content_hash": 6829036841924633330,
    "location": "../lib/gis/parser.c:1011, ../lib/gis/parser.c:1092",
    "context": "",
    "note": "",
    "flags": "c-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 271,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 8,
    "source_unit": "https://weblate.osgeo.org/api/units/474687/?format=api",
    "priority": 100,
    "id": 2315010,
    "web_url": "https://weblate.osgeo.org/translate/grass-gis/grasslibs/sv/?checksum=dec59cd370f922f2",
    "url": "https://weblate.osgeo.org/api/units/2315010/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-03T15:32:19.970871Z"
}