Units API.

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

GET /api/units/7665982/?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_TW/?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的可選 request 字串覆寫。\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": 7665982,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/zh_TW/?checksum=eda94930f91d4340",
    "url": "https://l10n.opensuse.org/api/units/7665982/?format=api",
    "explanation": "",
    "extra_flags": ""
}