Units API.

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

GET /api/units/2791591/?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/settings/zh_Hans/?format=api",
    "source": [
        "<b>Your API Token is like a password; Do not share it publicly.</b> You may occasionally be asked for your User ID, but never post your API Token where others can see it, including on Github.<br><br><b>Note:</b> If you need a new API Token (e.g., if you accidentally shared it), email <a href='mailto:admin@habitica.com' target='_blank'>admin@habitica.com</a> with your User ID and current Token. Once it is reset you will need to re-authorize everything by logging out of the website and mobile app and by providing the new Token to any other Habitica tools that you use."
    ],
    "previous_source": "",
    "target": [
        "<b>您的API令牌就像您的密码,请勿公开分享。</b> 您偶尔可能会被要求提供您的用户ID,但请勿将您的API令牌发布在其他人可以看到的地方,包括Github。<br><br><b>注:如果您需要一个新的API令牌(如果您不小心泄露了它),请发送电子邮件至<a href='mailto:admin@habitica.com' target='_blank'>admin@habitica.com</a>,并注明您的用户ID和当前令牌。重置令牌后,您需要重新登录网站和移动应用程序以及向您使用的任何其他Habitica工具提供新令牌以重新授权。"
    ],
    "id_hash": -5774901782737399800,
    "content_hash": 5475475795831025171,
    "location": "",
    "context": "APITokenDisclaimer",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 89,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 92,
    "source_unit": "https://translate.habitica.com/api/units/2787841/?format=api",
    "priority": 100,
    "id": 2791591,
    "web_url": "https://translate.habitica.com/translate/habitica/settings/zh_Hans/?checksum=2fdb6d6ce32ad008",
    "url": "https://translate.habitica.com/api/units/2791591/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-10-20T14:44:11.949482Z"
}