Units API.

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

GET /api/units/2254681/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate.checkmk.com/api/translations/checkmk/dev/en/?format=api",
    "source": [
        "By default, for security reasons, the GUI does not interpret any HTML code received from external sources, like service output or log messages. But there are specific reasons to deactivate this security feature. E.g. when you want to display the HTML output produced by a specific check plug-in. Disabling the escaping also allows the plug-in to execute not only HTML, but also Javascript code in the context of your browser. This makes it possible to execute arbitrary Javascript, even for injection attacks.<br>For this reason, you should only disable this for a small, very specific number of services, to be sure that not every random check plug-in is able to produce code which your browser interprets."
    ],
    "previous_source": "",
    "target": [
        "By default, for security reasons, the GUI does not interpret any HTML code received from external sources, like service output or log messages. But there are specific reasons to deactivate this security feature. E.g. when you want to display the HTML output produced by a specific check plug-in. Disabling the escaping also allows the plug-in to execute not only HTML, but also Javascript code in the context of your browser. This makes it possible to execute arbitrary Javascript, even for injection attacks.<br>For this reason, you should only disable this for a small, very specific number of services, to be sure that not every random check plug-in is able to produce code which your browser interprets."
    ],
    "id_hash": -100875960823520755,
    "content_hash": -100875960823520755,
    "location": "cmk/gui/wato/_ac_tests.py:638",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2494,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 115,
    "source_unit": "https://translate.checkmk.com/api/units/2254681/?format=api",
    "priority": 100,
    "id": 2254681,
    "web_url": "https://translate.checkmk.com/translate/checkmk/dev/en/?checksum=7e999dd91cbce20d",
    "url": "https://translate.checkmk.com/api/units/2254681/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-07-25T05:01:01.088068Z"
}