Units API.

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

GET /api/units/5842477/?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/fur/?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    Se i script di httpd a àn di vê il permès par scrivi tes cartelis publichis tu varâs di ativâ il boolean di $BOOLEAN e cambiâ il contest dal file de cartele publiche a public_content_rw_t.  Lei la pagjine dal manuâl\n    (man) httpd_selinux par vê plui informazions:\n    \"setsebool -P $BOOLEAN=1; chcon -t public_content_rw_t <percors>\"\n    Tu scugnis ancje cambiâ i file de etichetadure dal contest predefinide dai file sul sisteme par evitâ la etichetadure de cartele publiche ancje tal câs che si vedi di tornâ a etichetâ dut.  \"semanage fcontext -a -t public_content_rw_t <percors>\"\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": 5842477,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/fur/?checksum=96d4dacc8247d683",
    "url": "https://translate.fedoraproject.org/api/units/5842477/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:21:02.644272Z"
}