Units API

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

GET /api/units/271808/?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 or if the DetectColor property is set to True.",
    "previous_source": "",
    "target": "当前的亮度,0到1023,或者-1(无法读取亮度)。",
    "id_hash": -2198814964458642786,
    "content_hash": -6616534687347130062,
    "location": "",
    "context": "NxtColorSensor__GetLightLevelMethodDescriptions",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 456,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 31,
    "priority": 100,
    "id": 271808,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-methods/zh_Hans/?checksum=617c3d708ca1229e",
    "url": "https://weblate.appinventor.mit.edu/api/units/271808/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/11846/?format=api"
}