Units API.

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

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

{
    "translation": "https://translate.habitica.com/api/translations/habitica/quests/zh_Hans/?format=api",
    "source": [
        "<%= username %> attacks <%= bossName %> for <%= userDamage %> damage. <%= bossName %> does not attack, because it respects the fact that there are some bugs post-maintenance, and it doesn't want to hurt anyone unfairly. It will continue its rampage soon!"
    ],
    "previous_source": "",
    "target": [
        "<%= username %>攻击<%= bossName %>,造成了<%= userDamage %>点伤害。<%= bossName %>没有反击,因为它尊重维护后存在一些 bug 的事实,而且它不想不公平地伤害任何人。它很快就会继续横冲直撞!"
    ],
    "id_hash": -9027806119401200372,
    "content_hash": -839891664956303024,
    "location": "",
    "context": "chatBossDontAttack",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 81,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 43,
    "source_unit": "https://translate.habitica.com/api/units/655853/?format=api",
    "priority": 100,
    "id": 253686,
    "web_url": "https://translate.habitica.com/translate/habitica/quests/zh_Hans/?checksum=02b6ca2a6ffe650c",
    "url": "https://translate.habitica.com/api/units/253686/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-07-31T11:17:07.885956Z"
}