Units API.

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

GET /api/units/7665791/?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/uk/?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"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>спокій</big> = так</b>|<b>ні</b>\n</p><p>Якщо значення <i>так</i>, то, коли реальний сервер або сервер повернення ресурсів стають неробочими, вони не видаляються з таблиці <small>LVS</small> ядра.\nЗамість цього їхнє навантаження скидається до нуля, тобто нові підключення прийматися не будуть.\n</p><p>Тут є побічний ефект, який полягає в тому, що, якщо у реального сервера є постійні підключення, то нові підключення від будь-яких існуючих клієнтів будуть і надалі спрямовуватися на\nреальний сервер, поки не закінчиться термін дії постійного підключення. Додаткові відомості про постійні зв'язки див. в ipvsadm.\n</p><p>Цей побічний ефект можна попередити, виконавши наступну команду:\n</p><p>echo 1 > /proc/sys/net/ipv4/vs/expire_quiescent_template\n</p><p>Якщо файл процесу відсутній, то швидше за все це означає, що у ядра немає підтримки lvs, підтримка <small>LVS</small> не завантажена або ядро занадто стара, щоб\nмістити файл процесу. Запуск ipvsadm в якості кореня повинен завантажити <small>LVS</small> в ядро, якщо можливо.\n</p><p>Якщо значення <i>ні</i>, то реальний сервер або сервер повернення ресурсів буде видалений з таблиці <small>LVS</small> ядра. За умовчанням встановлено значення <i>так</i>.\n</p><p>Якщо значення вказано у розділі віртуального сервера, глобальне значення буде замінено.\n</p><p>Типове значення: <i>так</i>\n\n"
    ],
    "id_hash": -5578213981398008811,
    "content_hash": -5578213981398008811,
    "location": "src/include/iplb/helps.rb:102",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 41,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 177,
    "source_unit": "https://l10n.opensuse.org/api/units/12573681/?format=api",
    "priority": 100,
    "id": 7665791,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/uk/?checksum=329633f045a77c15",
    "url": "https://l10n.opensuse.org/api/units/7665791/?format=api",
    "explanation": "",
    "extra_flags": ""
}