Units API

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

GET /api/units/271812/?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": "Returns the current light level as a value between 0 and 1023, or -1 if the light level can not be read.",
    "previous_source": "",
    "target": "当前的亮度,0到1023,或者-1(无法读取亮度)。",
    "id_hash": -1756954032448095168,
    "content_hash": 7411662541240358916,
    "location": "",
    "context": "NxtLightSensor__GetLightLevelMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 460,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 22,
    "priority": 100,
    "id": 271812,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hans/?checksum=679e0b9dc13dbc40",
    "url": "https://weblate.appinventor.mit.edu/api/units/271812/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11850/?format=api"
}