Units API.

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

GET /api/units/5843602/?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/it/?format=api",
    "source": [
        "\n    SELinux denied xen access to $TARGET_PATH.\n    If this is a XEN image, it has to have a file context label of\n    xen_image_t. The system is setup to label image files in directory /var/lib/xen/images\n    correctly.  We recommend that you copy your image file to /var/lib/xen/images.\n    If you really want to have your xen image files in the current directory, you can relabel $TARGET_PATH to be xen_image_t using chcon.  You also need to execute semanage fcontext -a -t xen_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 xen\n    image it could indicate either a bug or an intrusion attempt.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux ha negato l'accesso xen a $TARGET_PATH.\n    Se questa è un immagine XEN allora dovrà possedere una etichetta del\n    contesto del file xen_image_t. Il sistema è impostato per etichettare correttamente i file\n    immagine in /var/lib/xen/images.  Si consiglia copiare il file immagine in /var/lib/xen/images.\n    Se si desidera veramente avere i file immagine xen nella directory corrente, è possibile rietichettare $TARGET_PATH in xen_image_t usando chcon.  Se si vuole farlo si dovrà anche eseguire semanage fcontext -a -t xen_image_t '$FIX_TARGET_PATH' per aggiungere\n    questo nuovo percorso alle impostazioni di sistema predefinite.  Se non si intende utilizzare $TARGET_PATH come\n    una immagine xen, ciò potrebbe indicare un bug o un tentativo di intrusione.\n    "
    ],
    "id_hash": 8707956077862196747,
    "content_hash": 8707956077862196747,
    "location": "../src/xen_image.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 224,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 109,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839757/?format=api",
    "priority": 100,
    "id": 5843602,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/it/?checksum=f8d8dfea84ae160b",
    "url": "https://translate.fedoraproject.org/api/units/5843602/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:21:31.310160Z"
}