Units API.

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

GET /api/units/2339025/?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/equality/sv/?format=api",
    "source": [
        "As you can see, all of our spatially equal geometries also have equal bounds.  Unfortunately, Polygon 5 is also returned as equal under this test, because it shares the same bounding box as the other geometries.  Why is this useful, then?  Although this will be covered in detail later, the short answer is that this enables the use of spatial indexing that can quickly reduce huge comparison sets into more manageable blocks when joining or filtering data."
    ],
    "previous_source": "",
    "target": [
        "Som du kan se har alla våra spatialt lika geometrier också lika gränser.  Tyvärr returneras Polygon 5 också som lika i det här testet, eftersom den delar samma bounding box som de andra geometrierna.  Varför är då detta användbart?  Även om detta kommer att behandlas i detalj senare är det korta svaret att detta möjliggör användning av spatial indexering som snabbt kan reducera enorma jämförelseuppsättningar till mer hanterbara block när data sammanfogas eller filtreras."
    ],
    "id_hash": -3816195773137581218,
    "content_hash": -3816195773137581218,
    "location": "../../en/equality.rst:84",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 12,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 77,
    "source_unit": "https://weblate.osgeo.org/api/units/102597/?format=api",
    "priority": 100,
    "id": 2339025,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/equality/sv/?checksum=4b0a2629d4c98b5e",
    "url": "https://weblate.osgeo.org/api/units/2339025/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T09:36:11.316806Z"
}