Units API.

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

GET /api/units/26529/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/principlesnaming/zh_Hans/?format=api",
    "source": [
        "The network and the transport layers rely on addresses that are encoded as fixed size bit strings. A network layer address uniquely identifies a host. Several transport layer entities can use the service of the same network layer. For example, a reliable transport protocol and a connectionless transport protocol can coexist on the same host. In this case, the network layer multiplexes the segments produced by these two protocols. This multiplexing is usually achieved by placing in the network packet header a field that indicates which transport protocol should process the segment. Given that there are few different transport protocols, this field does not need to be long. The port numbers play a similar role in the transport layer since they enable it to multiplex data from several application processes."
    ],
    "previous_source": "",
    "target": [
        "网络层与传输层依赖于被编码成固定长度的二进制地址。一个网络层地址可以唯一的识别一台主机。多个传输层单元可以使用同一个网络层的服务。例如,一个可靠传输协议和一个无连接传输协议可以在同一台主机上共存。在这种情况下,网络层复用于这两种协议。为了实现复用,往往通过替换数据包包头的一个特定字段来标记其所使用的传输协议。鉴于只存在几个不同的传输层协议,这个字段不需要很长。端口号在传输层扮演着同样的角色,它使得多个进程可以同时传输数据。"
    ],
    "id_hash": -4900922878451049693,
    "content_hash": -4900922878451049693,
    "location": "../../principles/naming.rst:9",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 130,
    "source_unit": "https://weblate.info.ucl.ac.be/api/units/33762/?format=api",
    "priority": 100,
    "id": 26529,
    "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/principlesnaming/zh_Hans/?checksum=3bfc6c9bb6571b23",
    "url": "https://weblate.info.ucl.ac.be/api/units/26529/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-14T10:39:11.079800+02:00"
}