Units API

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

GET /api/units/271738/?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": "<p>Load a feature collection in <a href=\"https://en.wikipedia.org/wiki/GeoJSON\">GeoJSON</a> format from the given url. On success, the event GotFeatures will be raised with the given url and a list of the features parsed from the GeoJSON as a list of (key, value) pairs. On failure, the LoadError event will be raised with any applicable HTTP response code and error message.</p>",
    "previous_source": "",
    "target": "从给定网址加载GeoJSON格式的特征集合。若成功,获得特征列表事件被触发。若失败,加载失败事件被触发",
    "id_hash": -4160307484315289291,
    "content_hash": 3821745833133719366,
    "location": "",
    "context": "LoadFromURLMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 386,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 58,
    "priority": 100,
    "id": 271738,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hans/?checksum=46439e62a0fcf935",
    "url": "https://weblate.appinventor.mit.edu/api/units/271738/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11776/?format=api"
}