Units API.

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

GET /api/units/34475/?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": [
        "On most <trademark class=\"registered\">UNIX</trademark> systems, <literal>root</literal> has omnipotent power. This promotes insecurity. If an attacker gained <literal>root</literal> on a system, he would have every function at his fingertips. In FreeBSD there are sysctls which dilute the power of <literal>root</literal>, in order to minimize the damage caused by an attacker. Specifically, one of these functions is called <literal>secure levels</literal>. Similarly, another function which is present from FreeBSD 4.0 and onward, is a utility called <citerefentry><refentrytitle>jail</refentrytitle><manvolnum>8</manvolnum></citerefentry>. <application>Jail</application> chroots an environment and sets certain restrictions on processes which are forked within the <application>jail</application>. For example, a jailed process cannot affect processes outside the <application>jail</application>, utilize certain system calls, or inflict any damage on the host environment."
    ],
    "previous_source": "",
    "target": [
        "在大多数<trademark class=\"registered\">UNIX</trademark> 系统中,用户<literal>root</literal>是万能的。这也就增加了许多危险。如果一个攻击者获得了一个系统中的<literal>root</literal>,就可以在他的指尖掌握系统中所有的功能。在FreeBSD里,有一些sysctl项削弱了<literal>root</literal>的权限,这样就可以将攻击者造成的损害减小到最低限度。这些安全功能中,有一种叫安全级别。另一种在FreeBSD 4.0及以后版本中提供的安全功能,就是 <citerefentry><refentrytitle>jail</refentrytitle><manvolnum>8</manvolnum></citerefentry>。<application>Jail</application>将一个运行环境的文件树根切换到某一特定位置,并且对这样环境中叉分生成的进程做出限制。例如,一个被监禁的进程不能影响这个<application>jail</application>之外的进程、不能使用一些特定的系统调用,也就不能对主计算机造成破坏。"
    ],
    "id_hash": -2154986652794604907,
    "content_hash": -2154986652794604907,
    "location": "book.translate.xml:3324",
    "context": "",
    "note": "(itstool) path: chapter/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 438,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 113,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102580/?format=api",
    "priority": 100,
    "id": 34475,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=6217f30e90783295",
    "url": "https://translate-dev.freebsd.org/api/units/34475/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:46.942563Z"
}