Units API

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

GET /api/units/271856/?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 POST request using the Url property and the specified text.The characters of the text are encoded using the given encoding.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.If the SaveResponse property is false, the GotText event will be triggered.",
    "previous_source": "",
    "target": "使用网址属性和指定的文本,执行HTTP POST请求。文本字符编码使用给定的编码。若'保存响应'属性为真,响应就会保存为文件,并引发'获得文件'事件。'响应文件名称'属性可以用来指定保存的文件名。若'保存响应'设为假,引发'获得文本'事件。",
    "id_hash": -9042385822326236374,
    "content_hash": 9110366408010007473,
    "location": "",
    "context": "PostTextWithEncodingMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 504,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 67,
    "priority": 100,
    "id": 271856,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hans/?checksum=282fe00d2375b2a",
    "url": "https://weblate.appinventor.mit.edu/api/units/271856/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11894/?format=api"
}