Units API.

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

GET /api/units/5841121/?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/de/?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    Falls httpd-Skripten das Schreiben in öffentliche Verzeichnisse erlaubt sein soll, müssen Sie die Boolesche Variable $BOOLEAN aktivieren und den Dateikontext des öffentlichen Verzeichnisses auf public_content_rw_t setzen. Siehe httpd_selinux\n    Handbuchseite für weitere Informationen:\n    \"setsebool -P $BOOLEAN=1; chcon -t public_content_rw_t <path>\"\n    Sie müssen zudem den standardmäßigen Dateikontext ändern, der Dateien auf dem System kennzeichnet, um die Kennzeichnung als öffentliches Verzeichnung selbst nach einer umfassenden Neukennzeichnung auf dem System zu erhalten.  \"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": 5841121,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/de/?checksum=96d4dacc8247d683",
    "url": "https://translate.fedoraproject.org/api/units/5841121/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:29.649400Z"
}