Units API.

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

GET /api/units/5841671/?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 permission checks on files labeled unlabeled_t are being\n    denied. unlabeled_t is a context the SELinux kernel gives to files\n    that do not have a label. This indicates a serious labeling\n    problem. No files on an SELinux box should ever be labeled unlabeled_t.\n    If you have just added a disk drive to the system, you can\n    relabel it using the restorecon command. For example if you saved the\nhome directory from a previous installation that did not use SELinux, 'restorecon -R -v /home' will fix the labels.  Otherwise you should\n    relabel the entire file system.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    La comprobación de permisos de SELinux sobre los archivos etiquetados unlabeled_t está siendo\n    denegada. unlabeled_t es un contexto que el kernel SELinux da a archivos\n    que no tienen etiqueta. Esto indica un serio problema\n    de etiquetado. Ningún archivo en una caja SELinux debería estar nunca etiquetado como unlabeled_t.\n    si acaba de añadir un dispositivo de disco al sistema, usted puede\n    etiquetarlo usando el comando restorecon. Si usted ha guardado el\ndirectorio home de una instaación anterior que no usaba SELinux, 'restorecon -R -v /home' corregirá las etiquetas.  De otro modo debería\n    volver a etiquetar todo el sistema de archivos.\n    "
    ],
    "id_hash": 6678629783784437778,
    "content_hash": 6678629783784437778,
    "location": "../src/file.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 101,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 95,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839511/?format=api",
    "priority": 100,
    "id": 5841671,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/es/?checksum=dcaf426748d0b812",
    "url": "https://translate.fedoraproject.org/api/units/5841671/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:43.161063Z"
}