Units API.

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

GET /api/units/7665947/?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>receive</big> = \"</b><i>regexp to compare</i><b>\"</b>\n</p><p>If the requested result contains this <i>regexp to compare</i>, the real server is declared alive. The regexp must be inside quotes. Keep in mind that\nregexps are not plain strings and that you need to escape the special characters if they should as literals. Note that this regexp may be overridden by an\noptional per real-server based receive regexp.\n</p><p>For a <small>DNS</small> check this should be any one the A record's addresses or any one of the <small>PTR</small> record's names.\n</p><p>For a MySQL check, the receive setting is not used.\n\n\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>receive</big> = \"</b><i>要比较的正则表达式</i><b>\"</b>\n</p><p>如果请求的结果包含这个<i>要比较的正则表达式</i>,则将真实服务器声明为活动。该正则表达式必须括在引号中。请记住,\n正则表达式不是纯文本字符串,如果特殊字符应该以字面出现,则您需要转义这些字符。请注意,此正则表达式可能会被基于每个真实服务器的\n可选接收正则表达式覆盖。\n</p><p>对于 <small>DNS</small> 检查,这应该是 A 记录的任一地址,或 <small>PTR</small> 记录的任一名称。\n</p><p>对于 MySQL 检查,不使用 receive 设置。\n\n\n"
    ],
    "id_hash": -8856725647525867015,
    "content_hash": -8856725647525867015,
    "location": "src/include/iplb/helps.rb:212",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 53,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 95,
    "source_unit": "https://l10n.opensuse.org/api/units/12576921/?format=api",
    "priority": 100,
    "id": 7665947,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/zh_CN/?checksum=51696f2d22111f9",
    "url": "https://l10n.opensuse.org/api/units/7665947/?format=api",
    "explanation": "",
    "extra_flags": ""
}