Units API.

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

GET /api/units/11651625/?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/ar/?format=api",
    "source": [
        "To gain the capability <systemitem>CAP_CHOWN</systemitem>, the program must have both access to <systemitem>CAP_CHOWN</systemitem> under conventional Linux access controls (typically, be a <systemitem class=\"username\">root</systemitem>-owned process) and have the capability <systemitem>chown</systemitem> in its profile. Similarly, to be able to write to the file <filename>/foo/bar</filename> the program must have both the correct user ID and mode bits set in the files attributes and have <literal>/foo/bar w</literal> in its profile."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 4420896459640524923,
    "content_hash": 4420896459640524923,
    "location": "xml/apparmor_profiles.xml:292",
    "context": "",
    "note": "(itstool) path: formalpara/para",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 44,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 66,
    "source_unit": "https://l10n.opensuse.org/api/units/12693865/?format=api",
    "priority": 100,
    "id": 11651625,
    "web_url": "https://l10n.opensuse.org/translate/doc-sle-translations/apparmor_profiles-master/ar/?checksum=bd5a2de839a7d07b",
    "url": "https://l10n.opensuse.org/api/units/11651625/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-07-02T08:39:35.032847Z"
}