Units API.

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

GET /api/units/5847832/?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    You can alter the file context by executing chcon -t public_content_t '$TARGET_PATH'\n    You must also change the default file context files on the system in order to preserve them even on a full relabel.  \"semanage fcontext -a -t public_content_t '$FIX_TARGET_PATH'\"\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    可以执行 executing chcon -t public_content_t '$TARGET_PATH' 更改文件上下文。\n    还必须在系统中更改默认文件上下文文件,以便在完全重新标记后保留它们。\"semanage fcontext -a -t public_content_t '$FIX_TARGET_PATH'\"\n    "
    ],
    "id_hash": 5065725074750847516,
    "content_hash": 5065725074750847516,
    "location": "../src/public_content.py:39",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 160,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 40,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839629/?format=api",
    "priority": 100,
    "id": 5847832,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/zh_CN/?checksum=c64d121dba503a1c",
    "url": "https://translate.fedoraproject.org/api/units/5847832/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:23:15.341872Z"
}