Units API.

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

GET /api/units/5841573/?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    If httpd scripts should be allowed to write to public directories you need to turn on the $BOOLEAN boolean and change the file context of the public directory to public_content_rw_t.  Read the httpd_selinux\n    man page for further information:\n    \"setsebool -P $BOOLEAN=1; chcon -t public_content_rw_t <path>\"\n    You must also change the default file context labeling files on the system in order to preserve public directory labeling even on a full relabel.  \"semanage fcontext -a -t public_content_rw_t <path>\"\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    Si los guiones httpd deben tener permiso de escritura sobre las carpetas públicas, es necesario activar el indicador $BOOLEAN y cambiar el contexto de archivos de la carpeta pública a public_content_rw_t.  Consulte la página de\n    manual httpd_selinux para obtener más información:\n    \"setsebool -P $BOOLEAN=1; chcon -t public_content_rw_t <path>\"\n    También debe cambiar las etiquetas de contexto de archivo predeterminadas en el sistema con el fin de preservar el etiquetamiento de la carpeta pública incluso en un reetiquetamiento completo.  \"semanage fcontext -a -t public_content_rw_t <path>\"\n    "
    ],
    "id_hash": 1645180335791003267,
    "content_hash": 1645180335791003267,
    "location": "../src/allow_anon_write.py:38",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 3,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 76,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839315/?format=api",
    "priority": 100,
    "id": 5841573,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/es/?checksum=96d4dacc8247d683",
    "url": "https://translate.fedoraproject.org/api/units/5841573/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:40.843147Z"
}