Units API.

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

GET /api/units/2425618/?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-security/master/af/?format=api",
    "source": [
        "Disabled"
    ],
    "previous_source": "",
    "target": [
        "Versper"
    ],
    "id_hash": -8774063446487863190,
    "content_hash": -8774063446487863190,
    "location": "src/include/security/dialogs.rb:153, src/lib/y2security/lsm/selinux.rb:439",
    "context": "",
    "note": "All known SELinux modes\n\nThis is _the main_ or _base_ configuration for known SELinux modes. However, note that,\nfor example, a permissive mode could be set by just setting the Linux Security Module;\ni.e., \"lsm=selinux\" means \"enable SELinux using the permissive mode\". Or even setting the\nenforcing param to a value equal or less than 0; i.e., \"lsm=selinux enforcing=0\".\n\nAdditionally, removing the \"lsm\" from the kernel params does not mean to use none\nLSM module. Instead, it just fallback to the kernel configuration at the compile\ntime, which in SUSE is to use AppArmor according to the CONFIG_LSM variable. So, it\ncould be said that dropping all mode param to disabling SELinux is safe enough.\n\nTo know more, please visit the LSM Usage documentation at\nhttps://www.kernel.org/doc/html/latest/admin-guide/LSM/index.html\nand/or grep for CONFIG_LSM in /boot/config-*",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 36,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 1,
    "source_unit": "https://l10n.opensuse.org/api/units/12581959/?format=api",
    "priority": 100,
    "id": 2425618,
    "web_url": "https://l10n.opensuse.org/translate/yast-security/master/af/?checksum=63c43c84b59f06a",
    "url": "https://l10n.opensuse.org/api/units/2425618/?format=api",
    "explanation": "",
    "extra_flags": ""
}