Units API.

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

GET /api/units/2290847/?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/ko/?format=api",
    "source": [
        "<p>The service name may contain one or more occurances of <tt>%s</tt>. In this case, the pattern must be a regular expression prefixed with ~. For each <tt>%s</tt> in the description, the expression has to contain one \"group\". A group is a subexpression enclosed in brackets, for example <tt>(.*)</tt> or <tt>([a-zA-Z]+)</tt> or <tt>(...)</tt>. When the inventory finds a task matching the pattern, it will substitute all such groups with the actual values when creating the check. In this way one rule can create several checks on a host.</p><p>If the pattern contains more groups than occurrences of <tt>%s</tt> in the service description, only the first matching subexpressions are used for the service descriptions. The matched substrings corresponding to the remaining groups are nevertheless copied into the regular expression.</p><p>As an alternative to <tt>%s</tt> you may also use <tt>%1</tt>, <tt>%2</tt>, etc. These expressions will be replaced by the first, second, ... matching group, allowing you to reorder things.</p>"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 5426155779289992676,
    "content_hash": 5426155779289992676,
    "location": "cmk/gui/plugins/wato/check_parameters/domino_tasks.py:71",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 389,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 154,
    "source_unit": "https://translate.checkmk.com/api/units/2239963/?format=api",
    "priority": 100,
    "id": 2290847,
    "web_url": "https://translate.checkmk.com/translate/checkmk/dev/ko/?checksum=cb4d93eea8834de4",
    "url": "https://translate.checkmk.com/api/units/2290847/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-02-27T08:36:34.203437Z"
}