Units API.

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

GET /api/units/2339595/?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/geometries/sv/?format=api",
    "source": [
        "The most common use of a constructor is to turn a text representation of a geometry into an internal representation:"
    ],
    "previous_source": "",
    "target": [
        "Den vanligaste användningen av en konstruktor är att omvandla en textrepresentation av en geometri till en intern representation:"
    ],
    "id_hash": 8623543312402922205,
    "content_hash": 8623543312402922205,
    "location": "../../en/geometries.rst:304",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 86,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 20,
    "source_unit": "https://weblate.osgeo.org/api/units/102917/?format=api",
    "priority": 100,
    "id": 2339595,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/geometries/sv/?checksum=f7acfaf400f8badd",
    "url": "https://weblate.osgeo.org/api/units/2339595/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T12:18:48.246459Z"
}