Units API.

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

GET /api/units/5843499/?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 prevented httpd $ACCESS access to http files.\n\n    Ordinarily httpd is allowed full access to all files labeled with http file\n    context.  This machine has a tightened security policy with the $BOOLEAN\n    turned off,  this requires explicit labeling of all files.  If a file is\n    a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order\n    to be executed.  If it is read only content, it needs to be labeled\n    httpd_TYPE_content_t. If it is writable content, it needs to be labeled\n    httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the\n    chcon command to change these context.  Please refer to the man page\n    \"man httpd_selinux\" or\n    <a href=\"http://fedora.redhat.com/docs/selinux-apache-fc3\">FAQ</a>\n    \"TYPE\" refers to one of \"sys\", \"user\" or \"staff\" or potentially other\n    script types.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux ha impedito ad httpd l'accesso $ACCESS ai file http.\n\n    Normalmente ad httpd è consentito l'accesso completo a tutti i file etichettati\n    con il contesto di file http.  Questa macchina ha una politica di sicurezza\n    rafforzata con il relativo $BOOLEAN disattivato, ciò richiede un'etichettatura\n    esplicita di tutti i file. Se un file è uno script cgi, deve essere etichettato con\n    httpd_TYPE_script_exec_t per essere eseguito. Se è del contenuto in sola\n    lettura, deve essere etichettato httpd_TYPE_content_t. Se è del contenuto\n    scrivibile, deve essere etichettato come httpd_TYPE_script_rw_t o\n    httpd_TYPE_script_ra_t. È possibile utilizzare il comando chcon per modificare questi\n    contesti.  Si può fare riferimento alla pagina di mnauale \"man httpd_selinux\" o alle \n    <a href=\"http://fedora.redhat.com/docs/selinux-apache-fc3\">domande frequenti</a>\n    \"TYPE\" fa riferimento a uno tra \"sys\", \"user\" o \"staff\" o potenzialmente altri tipi\n    di script.\n    "
    ],
    "id_hash": -4252462647053072664,
    "content_hash": -4252462647053072664,
    "location": "../src/httpd_unified.py:33",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 121,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 120,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839551/?format=api",
    "priority": 100,
    "id": 5843499,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/it/?checksum=44fc37c0c5c8c6e8",
    "url": "https://translate.fedoraproject.org/api/units/5843499/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:21:28.489294Z"
}