Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/setroubleshoot/plugins/zh_CN/?format=api",
    "source": [
        "\n    SELinux has denied the $SOURCE_PATH from executing potentially\n    mislabeled files $TARGET_PATH.  Automounter can be setup to execute\n    configuration files. If $TARGET_PATH is an automount executable\n    configuration file it needs to have a file label of bin_t.\n    If automounter is trying to execute something that it is not supposed to, this could indicate an intrusion attempt.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux 已经拒绝 $SOURCE_PATH 执行可能错\n  误标记的文件 $TARGET_PATH。可将 automounter 设置为\n  执行配置文件,如果 $TARGET_PATH 是一个自动挂载可执行\n  配置文件,则需要有一个 bin_t 文件标记。\n  如果 automounter 正在试图执行它不应该执行的动作, 则可能是一个入侵攻击提示。\n    "
    ],
    "id_hash": 824724261719382213,
    "content_hash": 824724261719382213,
    "location": "../src/automount_exec_config.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 43,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 55,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839395/?format=api",
    "priority": 100,
    "id": 5847715,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/zh_CN/?checksum=8b720258b16e18c5",
    "url": "https://translate.fedoraproject.org/api/units/5847715/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:23:12.713499Z"
}