Units API.

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

GET /api/units/7664643/?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/lo/?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": [
        ""
    ],
    "id_hash": 1125636483103487337,
    "content_hash": 1125636483103487337,
    "location": "src/include/iplb/helps.rb:135",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "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": 7664643,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/lo/?checksum=8f9f106ae19a7569",
    "url": "https://l10n.opensuse.org/api/units/7664643/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-02-14T02:35:14.319446Z"
}