Units API.

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

GET /api/units/1305959/?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/fr/?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>Vous pouvez définir un ou plusieurs motifs (expressions régulières) dans chaque règle de motif de fichier journal. Ces motifs sont appliqués aux fichiers journaux sélectionnés pour reclasser les messages journaux correspondants. Le premier motif qui correspond à une ligne sera utilisé pour reclasser un message. Vous pouvez utiliser le <a href=\"wato.py?mode=pattern_editor\">Logfile pattern analyzer</a> pour tester les règles que vous avez définies ici.</p><p>Notez que pour faire correspondre un caractère regex spécial dans vos motifs, vous devez utiliser une barre oblique inverse pour échapper à sa signification spéciale. Ceci est particulièrement pertinent pour les chemins d'accès aux fichiers Windows. Par exemple, pour faire correspondre le chemin d'accès Windows \"C:\\Users\\amdin\\Desktop\", saisissez \"C:\\Users\\admin\\Desktop\".</p><p>Sélectionnez \"Ignorer\" comme état pour obtenir la suppression des journaux correspondants. Les autres états conserveront les entrées de journal mais reclasseront l'état de celles-ci.</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": 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": 1305959,
    "web_url": "https://translate.checkmk.com/translate/checkmk/dev/fr/?checksum=8679078cecdf88f8",
    "url": "https://translate.checkmk.com/api/units/1305959/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-05-06T07:37:47.083707Z"
}