Units API.

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

GET /api/units/452974/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-base/master/af/?format=api",
    "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": "",
    "note": "@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": "",
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 161,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 4,
    "source_unit": "https://l10n.opensuse.org/api/units/12570358/?format=api",
    "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/?format=api",
    "explanation": "",
    "extra_flags": ""
}