Units API.

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

GET /api/units/1382891/?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/pl/?format=api",
    "source": [
        "<p>You can define one or several patterns (regular expressions) in each logfile pattern rule. These patterns are applied to the selected logfiles to reclassify the matching log messages. The first pattern which matches a line will be used for reclassifying a message. You can use the <a href=\"wato.py?mode=pattern_editor\">Logfile pattern analyzer</a> to test the rules you defined here.</p><p>Note that to match a special regex character in your patterns, you need to use a backslash to escape its special meaning. This is especially relevant for Windows file paths. For example, to match the Windows path \"C:\\Users\\amdin\\Desktop\", enter \"C:\\\\Users\\\\admin\\\\Desktop\".</p><p>Select \"Ignore\" as state to get the matching logs deleted. Other states will keep the log entries but reclassify the state of them.</p>"
    ],
    "previous_source": "",
    "target": [
        "<p>Możesz zdefiniować jeden lub kilka wzorców (wyrażeń regularnych) w każdej regule wzorca pliku dziennika. Te wzorce są stosowane do wybranych plików dziennika w celu przeklasyfikowania pasujących komunikatów dziennika. Pierwszy wzorzec, który pasuje do linii, zostanie użyty do przeklasyfikowania wiadomości. Możesz użyć <a href=\"wato.py?mode=pattern_editor\">Analizatora wzorców pliku dziennika</a>, aby przetestować zdefiniowane tutaj reguły.</p><p>Pamiętaj, że aby dopasować specjalny znak regex w swoim wzorce, musisz użyć odwrotnego ukośnika, aby uniknąć jego specjalnego znaczenia. Jest to szczególnie istotne w przypadku ścieżek plików systemu Windows. Na przykład, aby dopasować ścieżkę Windows „C:\\Users\\amdin\\Desktop”, wpisz „C:\\\\Users\\\\admin\\\\Desktop”.</p><p>Wybierz „Ignoruj” jako stan, aby uzyskać pasujące logi zostały usunięte. Inne stany zachowają wpisy dziennika, ale zmienią ich stan.</p>"
    ],
    "id_hash": 466412338260445432,
    "content_hash": 466412338260445432,
    "location": "cmk/gui/mkeventd/_rulespecs.py:71",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 393,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 118,
    "source_unit": "https://translate.checkmk.com/api/units/1151956/?format=api",
    "priority": 100,
    "id": 1382891,
    "web_url": "https://translate.checkmk.com/translate/checkmk/dev/pl/?checksum=8679078cecdf88f8",
    "url": "https://translate.checkmk.com/api/units/1382891/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-05-06T07:43:28.362858Z"
}