Units API.

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

GET /api/units/5842216/?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/fi/?format=api",
    "source": [
        "\n    SELinux has prevented $SOURCE from writing to a file under /sys/fs/selinux.\n    Files under /sys/fs/selinux control the way SELinux is configured.\n    All programs that need to write to files under /sys/fs/selinux should have already had policy\n    written for them. If a compromised application tries to turn off SELinux\n    this AVC will be generated. This is a serious issue. Your system may very\n    well be compromised.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux on estänyt $SOURCE:ta kirjoittamasta tiedostoon /sys/fs/selinux -kansiossa.\nTiedostot /sys/fs/selinux -kansiossa hallitsevat tapaa, jolla SELinux määritetään.\nKaikilla ohjelmilla, jotka on kirjoitettava tiedostoihin /sys/fs/selinux kansioon, pitäisi jo olla käytäntö\nkirjoitettu sitä varten. Jos vaarantunut sovellus yrittää sammuttaa SELinuxin,\nniin tämä AVC luodaan. Tämä on vakava asia. Järjestelmäsi voi hyvin\nolla vaarantunut.\n    "
    ],
    "id_hash": 2640477204261424181,
    "content_hash": 2640477204261424181,
    "location": "../src/setenforce.py:36",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 194,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 64,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839697/?format=api",
    "priority": 100,
    "id": 5842216,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/fi/?checksum=a4a4dc070584cc35",
    "url": "https://translate.fedoraproject.org/api/units/5842216/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:56.113696Z"
}