Units API.

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

GET /api/units/2716158/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-sudo/master/zh_CN/?format=api",
    "source": [
        "This rule is a system rule necessary for correct functionality of sudo.\n"
    ],
    "previous_source": "",
    "target": [
        "此规则是确保 sudo 功能正常必需的系统规则。\n"
    ],
    "id_hash": -2835882892116991948,
    "content_hash": -2835882892116991948,
    "location": "src/modules/Sudo.rb:423",
    "context": "",
    "note": "if(issubstring(line[3]:\"\",\"NOPASSWD:\")) {\nm[\"no_passwd\"] = (boolean) true;\n}\nelse {\nm[\"no_passwd\"] = (boolean) false;\n}",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 104,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 12,
    "source_unit": "https://l10n.opensuse.org/api/units/12583734/?format=api",
    "priority": 100,
    "id": 2716158,
    "web_url": "https://l10n.opensuse.org/translate/yast-sudo/master/zh_CN/?checksum=58a4eb88e6c26034",
    "url": "https://l10n.opensuse.org/api/units/2716158/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T16:15:03Z"
}