Units API.

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

GET /api/units/7663631/?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/cs/?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>quiescent</big> = yes</b>|<b>no</b>\n</p><p>Pokud je nastaveno <i>yes</i>, pak když skutečný nebo záložní server je označen jako vypnutý, nejsou skutečně odebrány z tabulky jádra<small>LVS</small>.\nMísto toho je jejich váha nastavena na nulu, což znamená, že nebudou přijímána žádná nová spojení.\n</p><p>Toto má vedlejší efekt, že pokud má skutečný server trvalá spojení, nová spojení z kteréhokoliv z existujících klientů budou nadále routována na skutečný server,\ndokud nevyprší časový limit trvalých připojení. Další informace o trvalých připojeních najdete v sekci ipvsadm.\n</p><p>Tomuto vedlejšímu efektu se lze vyhnout spuštěním následujícího příkazu:\n</p><p>echo 1 &gt; /proc/sys/net/ipv4/vs/expire_quiescent_template\n</p><p>Pokud tento soubor v proc chybí, pravděpodobně to znamená, že jádro nemá podporu lvs, podpora <small>LVS</small> není načtena nebo je verze jádra příliš\nzastaralá, aby mělo k dispozici soubor proc. Spuštění ipvsadm jako root by mělo, pokud je to možné, načíst <small>LVS</small> do jádra.\n</p><p>Pokud je nastaveno <i>no</i>, pak bude skutečný nebo záložní server odebrán z tabulky jádra <small>LVS</small>. Výchozí je <i>yes</i>.\n</p><p>Pokud je toto definováno v sekci virtuálního serveru, pak je globální hodnota přepsána.\n</p><p>Výchozí nastavení: <i>yes</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": 7663631,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/cs/?checksum=329633f045a77c15",
    "url": "https://l10n.opensuse.org/api/units/7663631/?format=api",
    "explanation": "",
    "extra_flags": ""
}