Units API.

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

GET /api/units/5841347/?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/en_GB/?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    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 labelling files on the system in order to preserve public directory labelling even on a full relabel.  \"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": 5841347,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/en_GB/?checksum=96d4dacc8247d683",
    "url": "https://translate.fedoraproject.org/api/units/5841347/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:35.260850Z"
}