Units API.

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

GET /api/units/1967452/?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/stable/ja/?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>各ログファイルパターンルールには、1つまたは複数のパターン(正規表現)を定義することができます。これらのパターンは選択されたログファイルに適用され、一致するログメッセージを再分類します。行にマッチする最初のパターンが、メッセージの再分類に使用されます。<a href=\"wato.py?mode=pattern_editor\">ログファイルパターンアナライザー</a>を使用して、ここで定義したルールをテストすることができます。</p><p>パターン中の特殊な正規表現文字にマッチさせるには、バックスラッシュを使ってその特殊な意味をエスケープする必要があることに注意してください。これは、特にWindowsのファイルパスと関係があります。例えばWindowsのパス\"C:\\Users\\amdin\\Desktop\"を一致させるためには 、\"C:\\\\Users\\\\admin\\\\Desktop\"と入力します。</p><p>状態として \"無視 \"を選択すると、一致するログが削除されます。その他の状態は、ログのエントリーは残りますが、その状態を再分類します。</p>"
    ],
    "id_hash": 466412338260445432,
    "content_hash": 466412338260445432,
    "location": "cmk/gui/mkeventd/_rulespecs.py:71",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 394,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 118,
    "source_unit": "https://translate.checkmk.com/api/units/1774691/?format=api",
    "priority": 100,
    "id": 1967452,
    "web_url": "https://translate.checkmk.com/translate/checkmk/stable/ja/?checksum=8679078cecdf88f8",
    "url": "https://translate.checkmk.com/api/units/1967452/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-05-15T08:46:50.603210Z"
}