Units API.

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

GET /api/units/5846935/?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/sv/?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": [
        "\n    SELinux nekade svirt åtkomst till $TARGET_PATH.\n    Om detta är en virtualiseringsavbild måste den ha en filkontextetikett \n    virt_image_t.  Systemet är uppsatt att märka avbildsfiler i katalogen /var/lib/libvirt/images\n    korrekt. Vi rekommenderar att man kopierar sin avbildsfil till /var/lib/libvirt/images.\n    Om man verkligen vill ha sina avbildsfiler i den nuvarande katalogen, kan man etikettera om $TARGET_PATH till att vara virt_image_t med chcon. Man behöver också köra semanage fcontext -a -t virt_image_t '$FIX_TARGET_PATH' för att lägga till\n    denna nya sökväg till systemstandarderna. Om du inte avsåg använda $TARGET_PATH som en\n    virtualiseringsavbild kan detta vara tecken på antingen ett fel eller ett intrångsförsök.\n    "
    ],
    "id_hash": 4235004881063965308,
    "content_hash": 4235004881063965308,
    "location": "../src/qemu_file_image.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 167,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 107,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839643/?format=api",
    "priority": 100,
    "id": 5846935,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/sv/?checksum=bac5c28055dcf27c",
    "url": "https://translate.fedoraproject.org/api/units/5846935/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:22:53.949226Z"
}