Units API.

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

GET /api/units/14519931/?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/uyuni/docs-administration-master/zh_CN/?format=api",
    "source": [
        "#!/usr/bin/python3\nclient = xmlrpc.client.ServerProxy('https://server.example.com/rpc/api')\nkey = client.auth.login('username', 'password')\nclient.system.scap.scheduleXccdfScan(key, <1000010001>,\n    '<path_to_xccdf_file.xml>',\n    '--profile <profile_name>')\n"
    ],
    "previous_source": "",
    "target": [
        "#!/usr/bin/python3\nclient = xmlrpc.client.ServerProxy('https://server.example.com/rpc/api')\nkey = client.auth.login('username', 'password')\nclient.system.scap.scheduleXccdfScan(key, <1000010001>,\n    '<path_to_xccdf_file.xml>',\n    '--profile <profile_name>')\n"
    ],
    "id_hash": 8556202359401115698,
    "content_hash": 8556202359401115698,
    "location": "modules/administration/pages/openscap.adoc:55",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [
        {
            "id": 1,
            "name": "Automatically translated",
            "color": "yellow"
        }
    ],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1851,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 13,
    "source_unit": "https://l10n.opensuse.org/api/units/14519591/?format=api",
    "priority": 100,
    "id": 14519931,
    "web_url": "https://l10n.opensuse.org/translate/uyuni/docs-administration-master/zh_CN/?checksum=f6bdbcb692767032",
    "url": "https://l10n.opensuse.org/api/units/14519931/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-26T08:41:45.187162Z"
}