Units API.

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

GET /api/units/5839644/?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/as/?format=api",
    "source": [
        "\n    SELinux denied svirt access to $TARGET_PATH.\n    If this is a virtualization image, it has to have a file context label of\n    virt_image_t. The system is setup to label image files in directory./var/lib/libvirt/images\n    correctly.  We recommend that you copy your image file to /var/lib/libvirt/images.\n    If you really want to have your image files in the current directory, you can relabel $TARGET_PATH to be virt_image_t using chcon.  You also need to execute semanage fcontext -a -t virt_image_t '$FIX_TARGET_PATH' to add this\n    new path to the system defaults. If you did not intend to use $TARGET_PATH as a virtualization\n    image it could indicate either a bug or an intrusion attempt.\n    "
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 4235004881063965308,
    "content_hash": 4235004881063965308,
    "location": "../src/qemu_file_image.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 167,
    "has_suggestion": true,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 107,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839643/?format=api",
    "priority": 100,
    "id": 5839644,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/as/?checksum=bac5c28055dcf27c",
    "url": "https://translate.fedoraproject.org/api/units/5839644/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:19:51.401378Z"
}