Units API.

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

GET /api/units/5842703/?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/gu/?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    જો httpd સ્ક્રિપ્ટને સાર્વજનિક ડિરેક્ટરીઓમાં લખવા માટે પરવાનગી આપવી જોઇએ તમારે $BOOLEAN બુલિયનને ચાલુ કરવાની જરૂર છે અને public_content_rw_t માં સાર્વજનિક ડિરેક્ટરીનાં ફાઇલ સંદર્ભને બદલો.  વધારે જાણકારી માટે httpd_selinux\n    મુખ્ય પાનાંને વાંચો:\n    \"setsebool -P $BOOLEAN=1; chcon -t public_content_rw_t <path>\"\n    તમારે પણ સંપૂર્ણ પુન:લેબલ પર પણ સાર્વજનિક ડિરેક્ટરીને સાચવવા ક્રમમાં સિસ્ટમ પર ફાઇલોનુ લેબલ કરવા માટે મૂળભૂત ફાઇલ સંદર્ભને બદલવુ જ જોઇએ.  \"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": 5842703,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/gu/?checksum=96d4dacc8247d683",
    "url": "https://translate.fedoraproject.org/api/units/5842703/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:21:08.219080Z"
}