Units API

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

GET /api/units/271825/?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": "Performs an HTTP PATCH request using the Url property and the specified text.<br>The characters of the text are encoded using UTF-8 encoding.<br>If the SaveResponse property is true, the response will be saved in a file and the GotFile event will be triggered. The responseFileName property can be used to specify the name of the file.<br>If the SaveResponse property is false, the GotText event will be triggered.",
    "previous_source": "",
    "target": "使用网址属性和指定的文本,执行HTTP PATCH请求。文本字符编码使用'UTF-8'。若'保存响应'属性为真,响应就会保存为文件,并引发'获得文件'事件。'响应文件名称'属性可以用来指定保存的文件名。若'保存响应'设为假,引发'获得文本'事件。",
    "id_hash": 8926990785929553295,
    "content_hash": 711490286161627717,
    "location": "",
    "context": "PatchTextMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 473,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 66,
    "priority": 100,
    "id": 271825,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hans/?checksum=fbe30ad29484258f",
    "url": "https://weblate.appinventor.mit.edu/api/units/271825/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11863/?format=api"
}