Units API.

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

GET /api/units/2339997/?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/security/sv/?format=api",
    "source": [
        "Rather than creating users and granting them the necessary powers, we will create two roles with the right powers and then create two users and add them to the appropriate roles. That way we can easily reuse the roles when we create further users."
    ],
    "previous_source": "",
    "target": [
        "I stället för att skapa användare och ge dem de nödvändiga befogenheterna skapar vi två roller med rätt befogenheter och skapar sedan två användare och lägger till dem i lämpliga roller. På så sätt kan vi enkelt återanvända rollerna när vi skapar ytterligare användare."
    ],
    "id_hash": -6618245753721883940,
    "content_hash": -6618245753721883940,
    "location": "../../en/security.rst:19",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 8,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 44,
    "source_unit": "https://weblate.osgeo.org/api/units/100015/?format=api",
    "priority": 100,
    "id": 2339997,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/security/sv/?checksum=2427448d4d2b72dc",
    "url": "https://weblate.osgeo.org/api/units/2339997/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T13:08:33.822585Z"
}