Units API.

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

GET /api/units/1128430/?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-handbookjail_index/zh_CN/?format=api",
    "source": [
        "There are certain protocols which are very common, such as TCP, UDP, IP and ICMP. IP and ICMP are on the same level: the network layer 2. There are certain precautions which are taken in order to prevent a jailed process from binding a protocol to a certain address only if the `nam` parameter is set. `nam` is a pointer to a `sockaddr` structure, which describes the address on which to bind the service. A more exact definition is that `sockaddr` \"may be used as a template for referring to the identifying tag and length of each address\". In the function `in_pcbbind_setup()`, `sin` is a pointer to a `sockaddr_in` structure, which contains the port, address, length and domain family of the socket which is to be bound. Basically, this disallows any processes from jail to be able to specify the address that does not belong to the jail in which the calling process exists."
    ],
    "previous_source": "",
    "target": [
        "网络协议TCP, UDP, IP和ICMP很常见。IP和ICMP处于同一协议层次:第二层,网络层。当参数<literal>nam</literal>被设置时,有一些限制措施会防止被囚禁的程序绑定到一些网络接口上。<literal>nam</literal>是一个指向<literal>sockaddr</literal>结构体的指针,描述可以绑定服务的地址。一个更确切的定义:<literal>sockaddr</literal>“是一个模板,包含了地址的标识符和地址的长度”。在函数<literal>in_pcbbind_setup()</literal>中<literal>sin</literal>是一个指向<literal>sockaddr_in</literal>结构体的指针,这个结构体包含了套接字可以绑定的端口、地址、长度、协议族。这就禁止了在<application>jail</application>中的进程指定不属于这个进程所存在于的<application>jail</application>的IP地址。"
    ],
    "id_hash": 8016322601427626415,
    "content_hash": 8016322601427626415,
    "location": "documentation/content/en/books/arch-handbook/jail/_index.adoc:405",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 85,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 154,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1127778/?format=api",
    "priority": 100,
    "id": 1128430,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookjail_index/zh_CN/?checksum=ef3fb2ef070769af",
    "url": "https://translate-dev.freebsd.org/api/units/1128430/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T13:14:27.212369Z"
}