Units API.

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

GET /api/units/11661148/?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/doc-sle-translations/apparmor_profiles-master/zh_CN/?format=api",
    "source": [
        "Attempts to violate <phrase>AppArmor</phrase> rules are recorded in <filename>/var/log/audit/audit.log</filename> if the <systemitem class=\"resource\">audit</systemitem> package is installed, or in <filename>/var/log/messages</filename>, or only in <systemitem>journalctl</systemitem> if no traditional syslog is installed. Often <phrase>AppArmor</phrase> rules prevent an attack from working because necessary files are not accessible and, in all cases, <phrase>AppArmor</phrase> confinement restricts the damage that the attacker can do to the set of files permitted by <phrase>AppArmor</phrase>."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -6161415591295399179,
    "content_hash": -6161415591295399179,
    "location": "xml/apparmor_profiles.xml:304",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 45,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 65,
    "source_unit": "https://l10n.opensuse.org/api/units/12693866/?format=api",
    "priority": 100,
    "id": 11661148,
    "web_url": "https://l10n.opensuse.org/translate/doc-sle-translations/apparmor_profiles-master/zh_CN/?checksum=2a7e412a0f48caf5",
    "url": "https://l10n.opensuse.org/api/units/11661148/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-07-02T08:39:35.041753Z"
}