Units API.

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

GET /api/units/7665107/?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/pl/?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>stan spoczynku</big> = tak</b>|<b>nie</b>\n</p><p>Wartość <i>tak</i> powoduje, że jeśli serwery rzeczywisty i awaryjny będą wyłączone, to nie zostaną usunięte z tabeli <small>LVS</small> jądra.\nIch waga zostanie ustawiona na zero, co oznacza, że nowe połączenia nie będą akceptowane.\n</p><p>Ma to taki skutek uboczny, że gdy serwer rzeczywisty ma ustawione trwałe połączenia, nowe połączenia od istniejących klientów nadal będą przekierowywane na\nserwer rzeczywisty, dopóki nie upłynie limit czasu trwałości. Więcej informacji o połączeniach trwałych zawiera dokumentacja ipvsadm.\n</p><p>Sposobem na uniknięcie tego efektu ubocznego jest uruchomienie następującego polecenia:\n</p><p>echo 1 &gt; /proc/sys/net/ipv4/vs/szablon_wygaśnięcia_stanu_spoczynku\n</p><p>Jeśli plik proc nie istnieje, prawdopodobnie oznacza to, że w jądrze nie ma obsługi programu lvs, obsługa programu <small>LVS</small> nie została załadowana lub jądro jest zbyt\nstare i nie zawiera pliku proc. Uruchomienie polecenia ipvsadm przez użytkownika root powinno spowodować załadowanie programu <small>LVS</small> do jądra, jeśli jest to możliwe.\n</p><p>Wartość <i>nie</i> oznacza, że serwery rzeczywiste i awaryjne zostaną usunięte z tabeli programu <small>LVS</small> jądra. Wartość domyślna to <i>tak</i>.\n</p><p>Jeśli parametr jest zdefiniowany w sekcji serwera wirtualnego, wartość globalna zostanie zastąpiona.\n</p><p>Wartość domyślna: <i>tak</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": 7665107,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/pl/?checksum=329633f045a77c15",
    "url": "https://l10n.opensuse.org/api/units/7665107/?format=api",
    "explanation": "",
    "extra_flags": ""
}