Units API.

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

GET /api/units/1440470/?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-http-server/master/zh_CN/?format=api",
    "source": [
        "<p><b><big>Configured Hosts</big></b><br>\nThis is a list of already configured hosts. One of the hosts is \nmarked as default (the asterisk next to the server name). A default host is used if no other host\nmatches for an incoming request. To set a host as default,\npress <b>Set as Default</b>.</p>\n"
    ],
    "previous_source": "",
    "target": [
        "<p><b><big>已配置的主机</big></b><br>\n这是已配置主机的列表。其中一个主机被标记为\n默认主机(服务器名旁边有星号)。如果其他主机无法匹配传入请求,\n则使用默认主机。要将某个主机设置为默认主机,\n请按<b>设置为默认值</b>。</p>\n"
    ],
    "id_hash": -2361506199299462661,
    "content_hash": -2361506199299462661,
    "location": "src/include/http-server/helps.rb:108",
    "context": "",
    "note": "hosts list help 1/2",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 33,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 49,
    "source_unit": "https://l10n.opensuse.org/api/units/12575862/?format=api",
    "priority": 100,
    "id": 1440470,
    "web_url": "https://l10n.opensuse.org/translate/yast-http-server/master/zh_CN/?checksum=5f3a3e9f9fdf69fb",
    "url": "https://l10n.opensuse.org/api/units/1440470/?format=api",
    "explanation": "",
    "extra_flags": ""
}