Units API.

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

GET /api/units/5842228/?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 loading a kernel module.\n    All confined programs that need to load kernel modules should have already had policy\n    written for them. If a compromised application\n    tries to modify the kernel this AVC will be generated. This is a serious\n    issue. Your system may very well be compromised.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux on estänyt $SOURCE:a lataamasta ytimen moduulia.\nKaikilla suljetuilla ohjelmilla, joiden tarvitsee ladata ytimen moduuleja, pitäisi jo olla käytäntö\nkirjoitettu sitä varten. Jos vaarantunut sovellus\nyrittää muokata ydintä, niin tämä AVC luodaan. Tämä on vakava\nongelma. Järjestelmäsi voi hyvinkin olla vaarantunut.\n    "
    ],
    "id_hash": -2026142607729040350,
    "content_hash": -2026142607729040350,
    "location": "../src/sys_module.py:37",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 206,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 52,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839721/?format=api",
    "priority": 100,
    "id": 5842228,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/fi/?checksum=63e1b2088206e422",
    "url": "https://translate.fedoraproject.org/api/units/5842228/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:56.431604Z"
}