Units API.

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

GET /api/units/2359450/?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/validity/uk/?format=api",
    "source": [
        "In 90% of the cases the answer to the question, \"why is my query giving me a 'TopologyException' error\" is \"one or more of the inputs are invalid\".  Which begs the question: what does it mean to be invalid, and why should we care?"
    ],
    "previous_source": "",
    "target": [
        "У 90% випадків відповідь на питання «чому мій запит видає помилку «TopologyException»» звучить так: «one or more of the inputs are invalid.  Це викликає питання: що означає «invalid» і чому нам слід про це турбуватися?"
    ],
    "id_hash": -5490007472188878121,
    "content_hash": -5490007472188878121,
    "location": "../../en/validity.rst:6",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 44,
    "source_unit": "https://weblate.osgeo.org/api/units/98525/?format=api",
    "priority": 100,
    "id": 2359450,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/uk/?checksum=33cf934a95f112d7",
    "url": "https://weblate.osgeo.org/api/units/2359450/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-08-09T13:57:38.096643Z"
}