Units API.

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

GET /api/units/2372553/?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/it/?format=api",
    "source": [
        "Specify upper and/or lower levels for a queried PromQL value. The matching happens on a 2-level basis: First on the service name level where the regular expression allows to target multiple services at once. Specify the regular expression in the Conditions section below. A service can consist of multiple metrics and you can add levels to each queried metric value. For the relevant service, levels to the metric value will only apply if the metric label matches the label specified in the custom Prometheus service definition. Levels for the Prometheus custom check can be defined at two places: in the Prometheus Datasource rule and here. The ruleset here always has priority over the levels defined in the Datasource rule."
    ],
    "previous_source": "",
    "target": [
        "Specificare i livelli superiori e/o inferiori per un valore PromQL interrogato. La corrispondenza avviene su una base di 2 livelli: Prima a livello di descrizione del servizio, dove l'espressione regolare permette di puntare a più servizi contemporaneamente. Specificare l'espressione regolare nella sezione Condizioni qui sotto. Un servizio può essere composto da più metriche e si possono aggiungere livelli a ogni valore di metrica interrogato. Per il servizio in questione, i livelli al valore della metrica saranno applicati solo se l'etichetta della metrica corrisponde all'etichetta specificata nella definizione del servizio Prometheus personalizzato. I livelli per il controllo personalizzato Prometheus possono essere definiti in due posti: nella regola Prometheus Datasource e qui. Il set di regole qui ha sempre la priorità sui livelli definiti nella regola Datasource."
    ],
    "id_hash": -4639656236177840426,
    "content_hash": -4639656236177840426,
    "location": "cmk/gui/plugins/wato/check_parameters/prometheus_custom.py:69",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 15473,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 119,
    "source_unit": "https://translate.checkmk.com/api/units/2347758/?format=api",
    "priority": 100,
    "id": 2372553,
    "web_url": "https://translate.checkmk.com/translate/checkmk/stable/it/?checksum=3f9ca13c32b1a6d6",
    "url": "https://translate.checkmk.com/api/units/2372553/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-09T12:56:58.684045Z"
}