Units API.

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

GET /api/units/2340025/?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": [
        "Copy the ``server.crt`` and ``server.key`` into the PostgreSQL data directory."
    ],
    "previous_source": "",
    "target": [
        "Kopiera ``server.crt`` och ``server.key`` till PostgreSQL-datakatalogen."
    ],
    "id_hash": -1353751683606178005,
    "content_hash": -1353751683606178005,
    "location": "../../en/security.rst:157",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 36,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 10,
    "source_unit": "https://weblate.osgeo.org/api/units/100131/?format=api",
    "priority": 100,
    "id": 2340025,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/security/sv/?checksum=6d3682042891172b",
    "url": "https://weblate.osgeo.org/api/units/2340025/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T13:08:33.901376Z"
}