Units API

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

GET /api/units/271865/?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 PUT request using the Url property and the specified text.<br>The characters of the text are encoded using the given 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 PUT请求。文本字符使用给定的编码方式进行编码。若'保存响应'属性为真,响应就会保存为文件,并引发'获得文件'事件。'响应文件名称'属性可以用来指定保存的文件名。若'保存响应'设为假,引发'获得文本'事件。",
    "id_hash": -8957590786867410782,
    "content_hash": 2718203765984491765,
    "location": "",
    "context": "PutTextWithEncodingMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 513,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 67,
    "priority": 100,
    "id": 271865,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hans/?checksum=3b03ea38174c8a2",
    "url": "https://weblate.appinventor.mit.edu/api/units/271865/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11903/?format=api"
}