Units API

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

GET /api/units/273174/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://weblate.appinventor.mit.edu/api/translations/appinventor/component-methods/zh_Hant/?format=api",
    "source": "Shows a dialog box with two buttons, from which the user can choose. If cancelable is true there will be an additional CANCEL button. Pressing a button will raise the AfterChoosing event. The \"choice\" parameter to AfterChoosing will be the text on the button that was pressed, or \"Cancel\" if the CANCEL button was pressed.",
    "previous_source": "",
    "target": "顯示一個對話框,具有兩個按鈕可供使用者選擇。如果「可取消」設定為\"真\",則會多一個「取消」按鈕。按下任何一個按鈕會觸發「選擇完成」事件。該事件的\"選項\"參數就是被按下的按鈕文字,如果使用者按下「取消」按鈕的話,則為\"取消\"。",
    "id_hash": 1977352108259562700,
    "content_hash": 759705866820161619,
    "location": "",
    "context": "ShowChooseDialogMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 709,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 55,
    "priority": 100,
    "id": 273174,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hant/?checksum=9b70f74418ae54cc",
    "url": "https://weblate.appinventor.mit.edu/api/units/273174/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/12099/?format=api"
}