Units API.

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

GET /api/units/7665111/?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>real servers</big> =</b> <i>ip_address|hostname[-&gt;ip_address|hostname][:portnumber|servicename</i>]\n<b>gate</b>|<b>masq</b>|<b>ipip</b> [<i>weight</i>] [<b>\"</b><i>request</i><b>\", \"</b><i>receive</i><b>\"</b>]\n</p><p>Defines a real service by IP-address (or hostname) and port (or servicename). If the port is omitted then a 0 will be used, this is intended primarily for\nfwmark services where the port for real servers is ignored. Optionally a range of <small>IP</small> addresses (or two hostnames) may be given, in which case\neach <small>IP</small> address in the range will be treated as a real server using the given port. The second argument defines the forwarding method, must be\n<b>gate</b>, <b>ipip</b> or <b>masq</b>. The thrid argument is optional and defines the weight for that real server. If omitted then a weight of 1 will be\nused. The last two arguments are also optional. They define a request-receive pair to be used to check if a server is alive. They override the request-receive\npair in the virtual server section. These two strings must be quoted. If the request string starts with http://... the IP-address and port of the real\nserver is overridden, otherwise the IP-address and port of the real server is used.\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>serwery rzeczywiste</big> =</b> <i>adres_ip  |nazwa_hosta[-&gt;adres_ip |nazwa_hosta][:numer_portu|nazwa_usługi</i>]\n<b>brama</b>|<b>maska</b>|<b>ipip</b> [<i>waga</i>]  [<b>\"</b><i>żądanie</i><b>\", \"</b><i>odbiór</i><b>\"</b>]\n</p><p>Definiuje usługę rzeczywistą według adresu IP (lub nazwy hosta) i portu (lub nazwy usługi). Jeśli port nie zostanie podany, użyta będzie wartość 0; takie rozwiązanie przeznaczone jest przede wszystkim dla \nusług fwmark, dla których port serwerów rzeczywistych jest ignorowany. Opcjonalnie można podać zakres adresów <small>IP</small> (lub dwie nazwy hostów). W takim przypadku\nkażdy adres <small>IP</small> z zakresu będzie traktowany jako rzeczywisty serwer, używający danego portu. Drugi argument definiuje metodę przekazywania i musi to być\n<b>brama</b>, <b>ipip</b> lub <b>maska</b>. Trzeci argument jest opcjonalny i definiuje wagę dla danego serwera rzeczywistego. Jeśli będzie pominięty, użyta  zostanie\nwartość 1. Dwa ostatnie argumenty także są opcjonalne. Definiują parę żądanie-odpowiedź, która jest wykorzystywana do sprawdzania, czy serwer jest aktywny. Następuje zastąpienie takiej samej pary\nw sekcji serwera wirtualnego. Te dwa łańcuchy należy ująć w cudzysłowy. Jeśli łańcuch żądania rozpoczyna się od znaków http://..., adres IP oraz port serwera\nrzeczywistego zostaną zastąpione. W  przeciwnym razie zostanie użyty adres IP i port serwera rzeczywistego.\n"
    ],
    "id_hash": 1125636483103487337,
    "content_hash": 1125636483103487337,
    "location": "src/include/iplb/helps.rb:135",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 45,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 180,
    "source_unit": "https://l10n.opensuse.org/api/units/12575770/?format=api",
    "priority": 100,
    "id": 7665111,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/pl/?checksum=8f9f106ae19a7569",
    "url": "https://l10n.opensuse.org/api/units/7665111/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-02-14T02:35:14.319446Z"
}