Units API.

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

GET /api/units/2340595/?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/simple_sql_exercises/sv/?format=api",
    "source": [
        "Name of the New York borough. Manhattan, The Bronx, Brooklyn, Staten Island, Queens"
    ],
    "previous_source": "",
    "target": [
        "Namn på stadsdel i New York. Manhattan, Bronx, Brooklyn, Staten Island, Queens"
    ],
    "id_hash": 7222515035625290769,
    "content_hash": 7222515035625290769,
    "location": "../../en/simple_sql_exercises.rst:34",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 25,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 13,
    "source_unit": "https://weblate.osgeo.org/api/units/99033/?format=api",
    "priority": 100,
    "id": 2340595,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/simple_sql_exercises/sv/?checksum=e43b87288b5cfc11",
    "url": "https://weblate.osgeo.org/api/units/2340595/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T16:09:56.124144Z"
}