Units API.

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

GET /api/units/7663923/?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/es/?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>Servidores reales</big> =</b> <i>dirección_IP|nombrehost[-&gt;dirección_IP|nombrehost][:númeropuerto|nombreservicio</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>Define un servicio real por la dirección IP (o el nombre de host) y el puerto (o el nombre de servicio). Si se omite el puerto, se usará el valor 0; principalmente\npara los servicios fwmark en los que se ignora el puerto para los servidores reales. Opcionalmente se puede indicar un intervalo de direcciones <small>IP</small>\n(o dos nombres de host), en cuyo caso, cada dirección <small>IP</small> en el intervalo se tratará como un servidor real con el puerto indicado. El segundo\nargumento define el método de reenvío, que debe ser <b>gate</b>, <b>ipip</b> o <b>masq</b>. El tercer argumento es opcional y define el peso de ese\nservidor real. Si se omite, se usará un peso con el valor 1. Los dos últimos argumentos también son opcionales. Definen un par request-receive que se usará\npara comprobar si un servidor está activo. Sustituyen al par request-receive de la sección del servidor virtual. Estas dos cadenas deben entrecomillarse. Si la\ncadena request empieza por http://... la dirección IP y el puerto del servidor real se sustituyen. Si no es así, se usan los del servidor real.\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": false,
    "num_words": 180,
    "source_unit": "https://l10n.opensuse.org/api/units/12575770/?format=api",
    "priority": 100,
    "id": 7663923,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/es/?checksum=8f9f106ae19a7569",
    "url": "https://l10n.opensuse.org/api/units/7663923/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-02-14T02:35:14.319446Z"
}