Units API.

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

GET /api/units/7665994/?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_TW/?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而是會將其權數設定為零,即表示將不接受任何新的連接。\n</p><p>這會導致一個副作用,即,如果真實伺服器具有永久連接,則來自任何現有用戶端的新連接將繼續路由到\n真實伺服器,直到永久逾時過期。如需永久連接的更多資訊,請參閱「ipvsadm」。\n</p><p>可透過執行以下指令避免這種副作用:\n</p><p>echo 1 &gt; /proc/sys/net/ipv4/vs/expire_quiescent_template\n</p><p>如果 proc 檔案不存在,則可能意味著核心不提供 lvs 支援、未載入 <small>LVS</small> 支援,或者核心太舊\n未包含 proc 檔案。在可能的情況下,以 root 身分執行 ipvsadm 應該可以將 <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": 7665994,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/zh_TW/?checksum=8034eec91683fd35",
    "url": "https://l10n.opensuse.org/api/units/7665994/?format=api",
    "explanation": "",
    "extra_flags": ""
}