Units API.

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

GET /api/units/1776942/?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-handbookporting-dads_index/ru/?format=api",
    "source": [
        "Some code needs modifications or conditional compilation based upon what version of FreeBSD Unix it is running under.  The preferred way to tell FreeBSD versions apart are the `{freebsd-version}` and `{freebsd}` macros defined in https://cgit.freebsd.org/src/tree/sys/sys/param.h[sys/param.h]. If this file is not included add the code,"
    ],
    "previous_source": "",
    "target": [
        "Вы можете встретиться с кодом, который требует модификаций или условной компиляции в зависимости от того, с какой версией FreeBSD Unix он работает. Предпочтительным способом отделения кода для версий FreeBSD является использование макросов {freebsd-version} и {freebsd}, определённых в https://cgit.freebsd.org/src/tree/sys/sys/param.h[sys/param.h]. Если этот файл не подключен, добавьте код"
    ],
    "id_hash": 6901249102987121903,
    "content_hash": 6901249102987121903,
    "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:79",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 11,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 44,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1238692/?format=api",
    "priority": 100,
    "id": 1776942,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=dfc6297eaa07d4ef",
    "url": "https://translate-dev.freebsd.org/api/units/1776942/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T07:57:37.453407Z"
}