Units API.

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

GET /api/units/1890348/?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/es/?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>Pode definir um ou vários padrões (expressões regulares) em cada regra de padrão de ficheiros de registo. Estes padrões são aplicados aos ficheiros de registo seleccionados para reclassificar as mensagens de registo correspondentes. O primeiro padrão que corresponder a uma linha será utilizado para reclassificar uma mensagem. Pode utilizar o <a href=\"wato.py?mode=pattern_editor\">Analisador de Padrões de Ficheiros de Registo</a> para testar as regras que definiu aqui.</p><p>Note que para corresponder a um carácter regex especial nos seus padrões, tem de utilizar uma barra invertida para escapar ao seu significado especial. Isso é especialmente relevante para caminhos de arquivos do Windows. Por exemplo, para corresponder ao caminho do Windows \"C:\\Users\\amdin\\Desktop\", introduza \"C:\\Users\\\\admin\\\\Desktop\".</p><p>Seleccione \"Ignorar\" como estado para que os registos correspondentes sejam eliminados. Outros estados manterão as entradas de registo, mas reclassificarão o estado das mesmas.</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": 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": 1890348,
    "web_url": "https://translate.checkmk.com/translate/checkmk/stable/es/?checksum=8679078cecdf88f8",
    "url": "https://translate.checkmk.com/api/units/1890348/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-05-15T08:41:48.437224Z"
}