Units API.

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

GET /api/units/5847836/?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 virt_image_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 virt_image_t '$FIX_TARGET_PATH'\"\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    可以执行 chcon -t virt_image_t '$TARGET_PATH' 来更改文件上下文。\n    还必须在系统中更改默认文件上下文文件以便在完全重新标记后保留它们。\"semanage fcontext -a -t virt_image_t '$FIX_TARGET_PATH'\"\n    "
    ],
    "id_hash": -7348879679732296884,
    "content_hash": -7348879679732296884,
    "location": "../src/qemu_blk_image.py:38, ../src/qemu_file_image.py:41",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 164,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 40,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839637/?format=api",
    "priority": 100,
    "id": 5847836,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/zh_CN/?checksum=1a0388de0878534c",
    "url": "https://translate.fedoraproject.org/api/units/5847836/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:23:15.472327Z"
}