Units API.

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

GET /api/units/35739/?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/freebsd-doc/boooks_arch-handbook/zh_CN/?format=api",
    "source": [
        "Following the pattern of several other multi-threaded <trademark class=\"registered\">UNIX</trademark> kernels, FreeBSD deals with interrupt handlers by giving them their own thread context. Providing a context for interrupt handlers allows them to block on locks. To help avoid latency, however, interrupt threads run at real-time kernel priority. Thus, interrupt handlers should not execute for very long to avoid starving other kernel threads. In addition, since multiple handlers may share an interrupt thread, interrupt handlers should not sleep or use a sleepable lock to avoid starving another interrupt handler."
    ],
    "previous_source": "",
    "target": [
        "与许多其它多线程 &unix; 内核所采取的模式类似, FreeBSD会赋予中断处理程序独立的线程上下文,这样做能够让中断线程在遇到锁时阻塞。 但为了避免不必要的延迟,中断线程在内核中, 是以实时线程的优先级运行的。 因此,中断处理程序不应执行过久, 以免饿死其它内核线程。 此外,由于多个处理程序可以分享同一中断线程, 中断处理程序不应休眠,或使用可能导致休眠的锁, 以避免将其它中断处理程序饿死。"
    ],
    "id_hash": -3889680307383473174,
    "content_hash": -3889680307383473174,
    "location": "book.translate.xml:15082",
    "context": "",
    "note": "(itstool) path: sect2/para",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 1528,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 87,
    "source_unit": "https://translate-dev.freebsd.org/api/units/103668/?format=api",
    "priority": 100,
    "id": 35739,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=4a05145e6c936bea",
    "url": "https://translate-dev.freebsd.org/api/units/35739/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:22:01.504153Z"
}