Units API

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

GET /api/units/272070/?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_Hans/?format=api",
    "source": "Shows a dialog box where the user can enter text, after which the AfterTextInput event will be raised. If cancelable is true there will be an additional CANCEL button. Entering text will raise the AfterTextInput event. The \"response\" parameter to AfterTextInput will be the text that was entered, or \"Cancel\" if the CANCEL button was pressed.",
    "previous_source": "",
    "target": "显示对话框,用户可以输入文本。若'允许取消'为真,会增加一个'取消'按钮。完成后会引发'输入完成'事件,其中的'响应'是输入的文本。",
    "id_hash": -3188388087737131456,
    "content_hash": 5585310702545528520,
    "location": "",
    "context": "ShowTextDialogMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 718,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 56,
    "priority": 100,
    "id": 272070,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hans/?checksum=53c091ed50575e40",
    "url": "https://weblate.appinventor.mit.edu/api/units/272070/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/12108/?format=api"
}