Units API.

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

GET /api/units/2080200/?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/ca/?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": [
        "<p>\n<b><big>Política d'errors de CUPS</big></b><br>\nLa política d'errors defineix la política per defecte que s'usa quan\nel CUPS falla a l'hora d'enviar una tasca d'impressió al dispositiu d'impressió.<br>\nDepenent de la manera particular en què cada impressora està connectada\n(per exemple \"usb\", \"socket\", \"lpd\", o \"ipp\"),\ni depenent del tipus de fallada del moment,\nel fons de CUPS, que és el que realment envia les dades a la impressora\npot sobreescriure la política d'errors per defecte\ni forçar-ne una altra (vegeu <tt>man backend</tt>).\nPer example, pot aturar qualesevol altre intent d'impressió\nfins i tot quan la política per defecte és reintentar la tasca.\nAixò pot passar quan qualsevol intent per establir\nla comunicació amb la impressora és inútil,\nde manera que no tingui sentit reintentar-ho.\n<br>\nExisteixen les polítiques d'error següents:<br>\nAturar la impressora i desar la tasca per a una impressió futura.<br>\nReenviar la tasca des de l'inici després d'esperar un temps determinat (30 segons, per defecte).<br>\nAvortar i suprimir la tasca i procedir a la següent.\n</p>"
    ],
    "id_hash": 3491221177015310617,
    "content_hash": 3491221177015310617,
    "location": "src/include/printer/helps.rb:903",
    "context": "",
    "note": "Policies help 2/2:",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 266,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 164,
    "source_unit": "https://l10n.opensuse.org/api/units/12580101/?format=api",
    "priority": 100,
    "id": 2080200,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/ca/?checksum=b0734f29c8519919",
    "url": "https://l10n.opensuse.org/api/units/2080200/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T12:16:02Z"
}