Units API.

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

GET /api/units/5841737/?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/es/?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 denegó a svirt accesa a $TARGET_PATH.\n    Si esto es una imagen de virtualización, tiene que tener una etiqueta de contexto de\n    virt_image_t. El sistema está configurado para etiquetar archivos de imagen en el directorio ./var/lib/libvirt/images\n    correctamente.  Recomendamos que copie su archivo de imagen a /var/lib/libvirt/images.\n    Si realmente desea tener sus archivos de imagen en el directorio actual, puede cambiar la etiqueta de $TARGET_PATH para que sea virt_image_t usando chcon.  También necesita ejecutar semanage fcontext -a -t virt_image_t '$FIX_TARGET_PATH' para añadir esta\n    nueva ruta a las predeterminadas del sistema. Si no pretende usar  $TARGET_PATH como una imagen\n    de virtualización podría indicar o bien un error o un intento de intrusión.\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": 5841737,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/es/?checksum=bac5c28055dcf27c",
    "url": "https://translate.fedoraproject.org/api/units/5841737/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:44.805943Z"
}