Units API.

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

GET /api/units/7664410/?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>quiescent</big> = yes</b>|<b>no</b>\n</p><p>If <i>yes</i>, then when real or failback servers are determined to be down, they are not actually removed from the kernel's <small>LVS</small> table.\nRather, their weight is set to zero which means that no new connections will be accepted.\n</p><p>This has the side effect, that if the real server has persistent connections, new connections from any existing clients will continue to be routed to the\nreal server, until the persistant timeout can expire. See ipvsadm for more information on persistant connections.\n</p><p>This side-effect can be avoided by running the following:\n</p><p>echo 1 &gt; /proc/sys/net/ipv4/vs/expire_quiescent_template\n</p><p>If the proc file isn't present this probably means that the kernel doesn't have lvs support, <small>LVS</small> support isn't loaded, or the kernel is too\nold to have the proc file. Running ipvsadm as root should load <small>LVS</small> into the kernel if it is possible.\n</p><p>If <i>no</i>, then the real or failback servers will be removed from the kernel's <small>LVS</small> table. The default is <i>yes</i>.\n</p><p>If defined in a virtual server section then the global value is overridden.\n</p><p>Default: <i>yes</i>\n\n\n\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>quiescent</big> = yes</b>|<b>no</b>\n</p><p><i>yes</i> (はい) に設定すると、実サーバやフェールバックサーバがダウンしたと判断されると、カーネルの <small>LVS</small> テーブルから削除されずに\n重さ (weight) が 0 に設定されるようになります。これにより、新しい接続が対象のサーバに割り振られなくなります。\n</p><p>このような動作には副作用もあります。実サーバ側で http などの接続維持機能 (persistent connection) が利用されていると、既存のクライアントからの新しい接続は、その機能が時間切れになるまで、対象のサーバに割り当てられ続けることになります。接続維持機能 (persistent connection) について、詳しくは ipvsadm をお読みください。\n</p><p>また、この副作用を回避するには、下記を実行します:\n</p><p>echo 1 &gt; /proc/sys/net/ipv4/vs/expire_quiescent_template\n</p><p>なお、上記のファイルが存在しない場合は、カーネル側で lvs のサポートが提供されていないか、 <small>LVS</small> サポートが読み込まれていないか、カーネルが古すぎるために /proc が提供されていないことを意味しています。\nなお、 ipvsadm を root で実行すると、可能であれば <small>LVS</small> がカーネル内に読み込まれます。\n</p><p>また、この値を <i>no</i> (いいえ) にすると、ダウンした際に実サーバまたはフェールバックサーバがカーネルの <small>LVS</small> テーブルから削除されます。既定値は <i>yes</i> (はい) です。\n</p><p>この値を仮想サーバの設定内で指定すると、グローバルの値が上書きされます。\n</p><p>既定値: <i>yes</i> (はい)\n\n\n\n"
    ],
    "id_hash": 14899246222540085,
    "content_hash": 14899246222540085,
    "location": "src/include/iplb/helps.rb:329",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 64,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 177,
    "source_unit": "https://l10n.opensuse.org/api/units/12576944/?format=api",
    "priority": 100,
    "id": 7664410,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/ja/?checksum=8034eec91683fd35",
    "url": "https://l10n.opensuse.org/api/units/7664410/?format=api",
    "explanation": "",
    "extra_flags": ""
}