Units API.

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

GET /api/units/5847753/?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 denied cvs access to $TARGET_PATH.\n    If this is a CVS repository it needs to have a file context label of\n    cvs_data_t. If you did not intend to use $TARGET_PATH as a CVS repository\n    it could indicate either a bug or it could signal an intrusion attempt.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux 拒绝了cvs 访问 $TARGET_PATH。\n    如果这是一个 CVS 程序库,它应具有文件环境标记 cvs_data_t。\n    如果您并没有打算将 $TARGET_PATH 作为 CVS 程序库使用,这可能是\n    一个 bug 或是尝试入侵的信号。\n    "
    ],
    "id_hash": -1244783378781696779,
    "content_hash": -1244783378781696779,
    "location": "../src/cvs_data.py:31",
    "context": "",
    "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": 47,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839471/?format=api",
    "priority": 100,
    "id": 5847753,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/zh_CN/?checksum=6eb9a41cb5680cf5",
    "url": "https://translate.fedoraproject.org/api/units/5847753/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:23:13.540789Z"
}