Units API.

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

GET /api/units/2351026/?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/ca/?format=api",
    "source": [
        "With this setting you can set links to documentations for each service. You can use some macros within the URL which are dynamically replaced for each object. These are:<br><ul><li>$HOSTNAME$: Contains the name of the host</li><li>$HOSTNAME_URL_ENCODED$: Same as above but URL encoded</li><li>$HOSTADDRESS$: Contains the network address of the host</li><li>$HOSTADDRESS_URL_ENCODED$: Same as above but URL encoded</li><li>$SERVICEDESC$: Contains the service name (in case this is a service)</li><li>$SERVICEDESC_URL_ENCODED$: Same as above but URL encoded</li><li>$USER_ID$: The user ID of the currently active user</li></ul>"
    ],
    "previous_source": "",
    "target": [
        "Amb aquest paràmetre podeu establir enllaços a la documentació de cada servei. Podeu utilitzar algunes macros dins de l'URL que es reemplacen dinàmicament per a cada objecte. Aquests són:<br><ul><ul>$HOSTNAME$: Conté el nom de l'amfitrió</li><li>$HOSTNAMEURLENCODED$: El mateix que l'anterior però l'URL codificat</li><li>$HOSTADDRESSURLENCODED$: El mateix que l'anterior però l'URL codificat</li><ul>0 $SERVICEDESC$: Conté la descripció del servei</li><li>$SERVICEDESCURLENCODED$: El mateix que l'anterior però l'URL codificat<li>$USERID$: L'identificador d'usuari de l'usuari actualment actiu</li></ul>"
    ],
    "id_hash": 3212507791287462073,
    "content_hash": 3212507791287462073,
    "location": "cmk/gui/wato/_check_mk_configuration.py:5134",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 20343,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 78,
    "source_unit": "https://translate.checkmk.com/api/units/2348271/?format=api",
    "priority": 100,
    "id": 2351026,
    "web_url": "https://translate.checkmk.com/translate/checkmk/stable/ca/?checksum=ac951ed0c9dd28b9",
    "url": "https://translate.checkmk.com/api/units/2351026/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-09T12:49:55.353440Z"
}