Units API.

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

GET /api/units/7665946/?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>request</big> = \"</b><i>uri to requested object</i><b>\"</b>\n</p><p>This object will be requested each checkinterval seconds on each real server. The string must be inside quotes. Note that this string may be overridden by\nan optional per real-server based request-string.\n</p><p>For a <small>DNS</small> check this should the name of an A record, or the address of a <small>PTR</small> record to look up.\n</p><p>For a MySQL, Oracle or PostgeSQL check, this should be an <small>SQL</small> query. The data returned is not checked, only that the answer is one or more\nrows. This is a required setting.\n</p><p>For a simpletcp check, this string is sent verbatim except any occurances of \n are replaced with a new line character.\n\n\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>request</big> = \"</b><i>所请求对象的 URI</i><b>\"</b>\n</p><p>将在每个真实服务器上每隔 checkinterval 参数指定的秒数请求此对象一次。字符串必须括在引号中。请注意,此字符串可能会被基于每个真实服务器的\n可选请求字符串覆盖。\n</p><p>对于 <small>DNS</small> 检查,这应该是 A 记录的名称,或者要查找的 <small>PTR</small> 记录的地址。\n</p><p>对于 MySQL、Oracle 或 PostgeSQL 检查,这应该是 <small>SQL</small> 查询。系统不会检查返回的数据,应答为一行或\n多行。这是必需的设置。\n</p><p>对于 simpletcp 检查,将按原义发送此字符串,不过,出现的所有 \n 都将替换为换行符。\n\n\n"
    ],
    "id_hash": 7901927495884948288,
    "content_hash": 7901927495884948288,
    "location": "src/include/iplb/helps.rb:202",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 52,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 113,
    "source_unit": "https://l10n.opensuse.org/api/units/12576920/?format=api",
    "priority": 100,
    "id": 7665946,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/zh_CN/?checksum=eda94930f91d4340",
    "url": "https://l10n.opensuse.org/api/units/7665946/?format=api",
    "explanation": "",
    "extra_flags": ""
}