Units API.

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

GET /api/units/7664393/?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/ja/?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 を組み合わせて実行する意味になります。この場合は、指定した番号の回数だけ connect でチェックを\n行い、その後に 1 回だけ negotiate でチェックを行います。この設定は、サービスからの応答に時間がかかるような場合に有用です。 ping のチェックは\n<small>ICMP</small> ping を送信するチェックで、これに対して反応があれば実サーバが生きているものと認識されます。 ping は <small>UDP</small> のサービスでも利用します。 off を指定すると、何もチェックを行わず、フェールバックサーバが有効化されることがなくなります。 on を指定すると、何もチェックを行いませんが、実サーバが常に有効化されるようになります。既定値は <i>negotiate</i>です。\n\n\n"
    ],
    "id_hash": -5165406709660924018,
    "content_hash": -5165406709660924018,
    "location": "src/include/iplb/helps.rb:152",
    "context": "",
    "note": "",
    "flags": "",
    "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": 7664393,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/ja/?checksum=3850c9f70e3dc78e",
    "url": "https://l10n.opensuse.org/api/units/7664393/?format=api",
    "explanation": "",
    "extra_flags": ""
}