Units API


See <a href="https://docs.weblate.org/en/weblate-3.6.1/api.html#units">the Weblate's Web API documentation</a> for detailed
description of the API.

GET /api/units/452974/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-base/master/af/",
    "source": "Restart After Saving Settings",
    "previous_source": "Reading %1 Settings",
    "target": "Lees van %1 instellings",
    "id_hash": -1131783197991950439,
    "content_hash": -1131783197991950439,
    "location": "library/general/src/lib/ui/service_status.rb:59",
    "context": "",
    "comment": "@param service [Yast2::Systemd::Service] systemd service. Usually the easiest way\nis just calling `Yast2::Systemd::Service.find(\"name_of_the_service\")`\nNote that this widget will #start and #stop the service by itself but\nthe actions referenced by the flags (reloading and enabling/disabling)\nare expected to be done by the caller, when the whole configuration is\nwritten.\n@param reload_flag [Boolean] Initial value for the \"reload\" checkbox.\nKeep in mind it will always be displayed as unchecked if the service\nis not active, despite the real value.\n@param reload_flag_label [Symbol] Type of label for the \"reload\" checkbox.\n:reload means the service will be reloaded.\n:restart means the service will be restarted.",
    "flags": "",
    "fuzzy": true,
    "translated": false,
    "position": 163,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 4,
    "priority": 100,
    "id": 452974,
    "web_url": "https://l10n.opensuse.org/translate/yast-base/master/af/?checksum=704b192d88ef2799",
    "url": "https://l10n.opensuse.org/api/units/452974/",
    "source_info": "https://l10n.opensuse.org/api/sources/8058/"
}