Units API.

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

GET /api/units/2094090/?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-printer/master/gl/?format=api",
    "source": [
        "<p>\n<b><big>CUPS Error Policy</big></b><br>\nThe error policy defines the default policy that is used when\nCUPS fails to send a print job to the printer device.<br>\nDepending on the particular way how the printer is connected\n(for example 'usb', 'socket', 'lpd', or 'ipp'),\nand depending on the actual kind of failure,\nthe CUPS backend which actually sends the data to the printer\ncan overwrite the default error policy\nand enforce another error policy (see <tt>man backend</tt>).\nFor example it can stop any further printing attempt\neven when the default error policy is to retry the job.\nThis could happen when any attempt to establish\nthe communication with the printer is useless\nso that it does no make sense to retry the job.\n<br>\nThe following error policies exist:<br>\nStop the printer and keep the job for future printing.<br>\nRe-send the job from the beginning after waiting some time (30 seconds by default).<br>\nAbort and delete the job and proceed with the next job.\n</p>"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 3491221177015310617,
    "content_hash": 3491221177015310617,
    "location": "src/include/printer/helps.rb:903",
    "context": "",
    "note": "Policies help 2/2:",
    "flags": "",
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 266,
    "has_suggestion": true,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 164,
    "source_unit": "https://l10n.opensuse.org/api/units/12580101/?format=api",
    "priority": 100,
    "id": 2094090,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/gl/?checksum=b0734f29c8519919",
    "url": "https://l10n.opensuse.org/api/units/2094090/?format=api",
    "explanation": "",
    "extra_flags": ""
}