Units API.

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

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

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-iplb/master/zh_CN/?format=api",
    "source": [
        "</p><p><b><big>check type</big> = connect</b>|<b>external</b>|<b>negotiate</b>|<b>off</b>|<b>on</b>|<b>ping</b>|<b>checktimeout</b><i>N</i>\n</p><p>Type of check to perform. Negotiate sends a request and matches a receive string. Connect only attemts to make a <small>TCP/IP</small> connection, thus the\nrequest and receive strings may be omitted. If checktype is a number then negotiate and connect is combined so that after each N connect attempts one negotiate\nattempt is performed. This is useful to check often if a service answers and in much longer intervalls a negotiating check is done. Ping means that\n<small>ICMP</small> ping will be used to test the availability of real servers. Ping is also used as the connect check for <small>UDP</small> services. Off\nmeans no checking will take place and no real or fallback servers will be activated. On means no checking will take place and real servers will always be\nactivated. Default is <i>negotiate</i>.\n\n\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>check type</big> = connect</b>|<b>external</b>|<b>negotiate</b>|<b>off</b>|<b>on</b>|<b>ping</b>|<b>checktimeout</b><i>N</i>\n</p><p>要执行的检查类型。如果指定 negotiate,则会发送请求并匹配接收字符串。如果指定 connect,则只尝试建立 <small>TCP/IP</small> 连接,因此,可以省略\n请求和接收字符串。如果 checktype 是数字,则 negotiate 和 connect 结合起来指定在每经过 N 次连接尝试后,执行\n一次协商尝试。通常,这可用于检查某个服务是否做出应答,执行协商检查的间隔要长得多。Ping 表示要使用\n<small>ICMP</small> ping 来测试真实服务器的可用性。Ping 也用来检查 <small>UDP</small> 服务的连接性。Off\n表示不进行检查,并且不激活任何真实服务器或回复服务器。On 表示不进行检查,并且始终激活真实\n服务器。默认值为 <i>negotiate</i>。\n\n\n"
    ],
    "id_hash": -5165406709660924018,
    "content_hash": -5165406709660924018,
    "location": "src/include/iplb/helps.rb:152",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 47,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 137,
    "source_unit": "https://l10n.opensuse.org/api/units/12575777/?format=api",
    "priority": 100,
    "id": 7665941,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/zh_CN/?checksum=3850c9f70e3dc78e",
    "url": "https://l10n.opensuse.org/api/units/7665941/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-02-14T02:35:14.428663Z"
}