Units API.

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

GET /api/units/1811796/?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/booksarch-handbooksmp_index/ru/?format=api",
    "source": [
        "A sleepable lock is a lock that can be held by a thread which is asleep. Lockmgr locks and sx locks are currently the only sleepable locks in FreeBSD. Eventually, some sx locks such as the allproc and proctree locks may become non-sleepable locks."
    ],
    "previous_source": "",
    "target": [
        "блокировка с возможностью сна — это блокировка, которая может удерживаться потоком, находящимся в состоянии сна. В настоящее время в FreeBSD единственными блокировками с возможностью сна являются lockmgr и sx. В будущем некоторые sx-блокировки, такие как allproc и proctree, могут стать блокировками с возможностью сна."
    ],
    "id_hash": 5243159318317228334,
    "content_hash": 5243159318317228334,
    "location": "documentation/content/en/books/arch-handbook/smp/_index.adoc:355",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 152,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 44,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1134464/?format=api",
    "priority": 100,
    "id": 1811796,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksmp_index/ru/?checksum=c8c3719edd13e12e",
    "url": "https://translate-dev.freebsd.org/api/units/1811796/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:25:10.279378Z"
}