Units API.

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

GET /api/units/1798451/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookspecial_index/ru/?format=api",
    "source": [
        "Some software requires the porter to locate third-party libraries and add the required dependencies to the port.  Other software bundles all necessary libraries into the distribution file.  The second approach seems easier at first, but there are some serious drawbacks:"
    ],
    "previous_source": "",
    "target": [
        "Некоторое программное обеспечение требует от упаковщика найти сторонние библиотеки и добавить необходимые зависимости в порт. Другое ПО включает все необходимые библиотеки в дистрибутивный файл. Второй подход кажется проще на первый взгляд, но имеет серьёзные недостатки:"
    ],
    "id_hash": 8046384151539633377,
    "content_hash": 8046384151539633377,
    "location": "documentation/content/en/books/porters-handbook/special/_index.adoc:165",
    "context": "",
    "note": "type: delimited block = 4",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 33,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 40,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1244640/?format=api",
    "priority": 100,
    "id": 1798451,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookspecial_index/ru/?checksum=efaa7fc116da4ce1",
    "url": "https://translate-dev.freebsd.org/api/units/1798451/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:13:03.418514Z"
}