Units API.

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

GET /api/units/2340081/?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/sv/?format=api",
    "source": [
        "Repairing invalidity involves stripping a polygon down to its simplest structures (rings), ensuring the rings follow the rules of validity, then building up new polygons that follow the rules of ring enclosure. Frequently the results are intuitive, but in the case of extremely ill-behaved inputs, the valid outputs may not conform to your intuition of how they should look. Recent versions of PostGIS include different algorithms for geometry repair: read the `manual page <http://postgis.net/docs/ST_MakeValid.html>`_ carefully and choose the one you like best."
    ],
    "previous_source": "",
    "target": [
        "Reparation av ogiltighet innebär att en polygon strippas ner till sina enklaste strukturer (ringar), att ringarna följer giltighetsreglerna och att nya polygoner byggs upp som följer reglerna för inneslutning av ringar. Ofta är resultaten intuitiva, men i fallet med extremt olämpliga indata kanske de giltiga utdata inte överensstämmer med din intuition om hur de borde se ut. De senaste versionerna av PostGIS innehåller olika algoritmer för geometrireparation: läs `manualsidan <http://postgis.net/docs/ST_MakeValid.html>`_ noggrant och välj den du tycker bäst om."
    ],
    "id_hash": 1559508789939267829,
    "content_hash": 1559508789939267829,
    "location": "../../en/validity.rst:106",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 24,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 82,
    "source_unit": "https://weblate.osgeo.org/api/units/98632/?format=api",
    "priority": 100,
    "id": 2340081,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/sv/?checksum=95a47cfb586de8f5",
    "url": "https://weblate.osgeo.org/api/units/2340081/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-06-04T13:26:32.558695Z"
}