Units API.

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

GET /api/units/7664401/?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/ja/?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>ホスト名</i><b>\"</b>\n</p><p><small>HTTP</small> または <small>HTTPS</small> で negotiate チェックを行う場合に参照される項目です。ここでは <small>HTTP</small> 要求内の Host ヘッダに指定する文字列を設定します。 <small>HTTPS</small> の場合、通常は\n<small>SSL</small> 証明書の common name (共通名) を指定します。何も指定しない\n場合は、実サーバに対する要求 URL から Host ヘッダを生成します。また、要求 URL から判断できない場合は、実サーバの <small>IP</small> アドレスを Host ヘッダに設定します。\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": 7664401,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/ja/?checksum=3ea1afbb4bca628e",
    "url": "https://l10n.opensuse.org/api/units/7664401/?format=api",
    "explanation": "",
    "extra_flags": ""
}