Units API.

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

GET /api/units/12888556/?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-autoinst/master/ca/?format=api",
    "source": [
        "run-erb=true option is mandatory when checking an ERB profile as root."
    ],
    "previous_source": "",
    "target": [
        "L'opció run-erb=true és obligatòria quan es verifica un perfil ERB com a arrel."
    ],
    "id_hash": -3688413136170691630,
    "content_hash": -3688413136170691630,
    "location": "src/lib/autoinstall/clients/autoyast.rb:241",
    "context": "",
    "note": "Checks whether an ERB profile can be rendered according to the given options\n\nAn ERB can be rendered if the check-profile command is run without root permissions. If it\nis run as root, then the option run-erb=true must be given.\n\n@param filename [String] filename of the AutoYaST profile\n@param run_erb_option [String] the given run-erb option\n\n@return [Boolean]",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 233,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 11,
    "source_unit": "https://l10n.opensuse.org/api/units/12888520/?format=api",
    "priority": 100,
    "id": 12888556,
    "web_url": "https://l10n.opensuse.org/translate/yast-autoinst/master/ca/?checksum=4cd01fcb71a953d2",
    "url": "https://l10n.opensuse.org/api/units/12888556/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-07-06T02:33:09.298332Z"
}