Units API.

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

GET /api/units/12561032/?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-installation/master/zh_CN/?format=api",
    "source": [
        "<p>SUSE ships with three sets of default privilege settings. These are as follows:<br><ul><li>\"restrictive\": conservative settings that require the root user password for a lot of actions and disable certain actions completely for remote users.</li><li>\"standard\": balanced settings that restrict sensitive actions to require root authentication but allow less dangerous operations for regular logged in users.</li><li>\"easy\": settings that are focused on ease of use. This sacrifices security to some degree to allow a more seamless user experience without interruptions in the workflow due to password prompts.</li></ul><br>The \"default\" is to keep value empty and it will be assigned automatically.</p>"
    ],
    "previous_source": "",
    "target": [
        "<p>SUSE 随附了三组默认特权设置。这些设置如下所述:<br><ul><li>“严格”:保守的设置,对于许多操作要求提供 root 用户口令,并要求对远程用户完全禁用某些操作。</li><li>“标准”:均衡的设置,将敏感的操作限制为需要完成 root 身份验证才能执行,但允许普通的登录用户执行风险不高的操作。</li><li>“简单”:注重易用性的设置。此设置在一定程度上损害了安全性,但可以实现更顺畅的用户体验,而且避免了口令提示对工作流程造成的干扰。</li></ul><br>“默认”设置是将值保留空白,让系统自动指派。</p>"
    ],
    "id_hash": 8964330675035978099,
    "content_hash": 8964330675035978099,
    "location": "src/lib/installation/widgets/polkit_default_priv.rb:43",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 326,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 96,
    "source_unit": "https://l10n.opensuse.org/api/units/12728996/?format=api",
    "priority": 100,
    "id": 12561032,
    "web_url": "https://l10n.opensuse.org/translate/yast-installation/master/zh_CN/?checksum=fc67b340fea83973",
    "url": "https://l10n.opensuse.org/api/units/12561032/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-04-15T02:32:37.718715Z"
}