Units API.

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

GET /api/units/7665949/?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/zh_CN/?format=api",
    "source": [
        "</p><p><b><big>virtual host</big> = \"</b><i>hostname</i><b>\"</b>\n</p><p>Used when using a negotiate check with <small>HTTP</small> or <small>HTTPS</small> . Sets the host header used in the <small>HTTP</small> request. In the\ncase of <small>HTTPS</small> this generally needs to match the common name of the <small>SSL</small> certificate. If not set then the host header will be\nderived from the request url for the real server if present. As a last resort the <small>IP</small> address of the real server will be used.\n\n\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>virtual host</big> = \"</b><i>hostname</i><b>\"</b>\n</p><p>将 negotiate check 与 <small>HTTP</small> 或 <small>HTTPS</small> 结合使用时使用。设置 <small>HTTP</small> 请求中使用的主机报头。对于\n<small>HTTPS</small>,这通常需要与 <small>SSL</small> 证书的常用名匹配。如果不设置此参数,则从真实服务器\n的请求 URL(如果存在)派生主机报头。最后的办法是使用真实服务器的 <small>IP</small> 地址。\n\n\n"
    ],
    "id_hash": -4710290516287528306,
    "content_hash": -4710290516287528306,
    "location": "src/include/iplb/helps.rb:226",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 55,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 75,
    "source_unit": "https://l10n.opensuse.org/api/units/12576935/?format=api",
    "priority": 100,
    "id": 7665949,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/zh_CN/?checksum=3ea1afbb4bca628e",
    "url": "https://l10n.opensuse.org/api/units/7665949/?format=api",
    "explanation": "",
    "extra_flags": ""
}