Units API.

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

GET /api/units/2359472/?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": [
        "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": [
        "Виправлення некоректної геометрії передбачає розбиття полігону на його найпростіші структури (кільця), перевірку, що кільця відповідають правилам валідації, а потім побудову нових полігонів, що дотримуються правил вкладення/замикання кілець. Часто результати бувають інтуїтивно зрозумілими, але у випадку надто «погано» сформованих вхідних даних валідні вихідні геометрії можуть не відповідати вашому уявленню про те, як вони мали б виглядати. У новіших версіях PostGIS є кілька алгоритмів для відновлення геометрій — уважно прочитайте сторінку довідки ST_MakeValid і виберіть той, який вам підходить."
    ],
    "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": 2359472,
    "web_url": "https://weblate.osgeo.org/translate/postgis-workshop/validity/uk/?checksum=95a47cfb586de8f5",
    "url": "https://weblate.osgeo.org/api/units/2359472/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-08-09T13:57:38.184355Z"
}