Units API.

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

GET /api/units/2080180/?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>Special Device URIs</big></b><br>\n<b>Specify an Arbitrary Device URI</b>\nif you know the exact right device URI for your particular case\nor to modify an existing device URI in a special way.<br>\n<b>Send Print Data to Other Program (pipe)</b><br>\nTo do this, the RPM package cups-backends must be installed.\nThe package provides the CUPS backend 'pipe' which runs\nthe program that you specified here.\nThe matching device URI is:<br>\npipe:/path/to/targetcommand<br>\n<b>Daisy-chain Backend Error Handler (beh)</b><br>\nTo do this, the RPM package cups-backends must be installed.\nThe package provides the CUPS backend 'beh'.<br>\nThe backend 'beh' is a wrapper for the usual backend,\nwhich is then called by beh.\nThis way beh can, depending on its configuration,\nrepeat the call of the backend or simply hide the error status\nof the backend from being seen by the CUPS daemon.\nThe matching device URI is:<br>\nbeh:/nodisable/attempts/delay/originalDeviceURI<br>\nIf nodisable is '1' beh always exits successfully\nso that the queue gets never disabled but on the other hand\nprint jobs are lost if there is an error.<br>\nAttempts is the number of attempts to recall the backend\nin case of an error. '0' means infinite retries.<br>\nDelay is the number of seconds between two attempts\nto call the backend.<br>\nThe last parameter is the original URI, which the queue had before.<br>\nExample:<br>\nbeh:/1/3/5/socket://ip-address:port-number<br>\nThe beh backend tries to access a network printer 3 times with 5 second delay\nbetween the attempts. If access still fails, the queue is not disabled\nand the print job is lost.<br>\nFor <b>more information</b> have a look at <tt>/usr/lib[64]/cups/backend/beh</tt> and<br>\nhttp://www.linuxfoundation.org/en/OpenPrinting/Database/BackendErrorHandler\n</p>"
    ],
    "previous_source": "",
    "target": [
        "<p>\n<b><big>URI especials de dispostius</big></b><br>\n<b>Especifica un URI arbitrari de dispostiu</b>\nsi sabeu l'URI exacte del dispostiu per al vostre cas particular\no per modificar un URI de dispostiu existent d'una manera especial.<br>\n<b>Envia dades d'impressió a un altre programa (pipe)</b><br>\nPer fer-ho, hi ha d'haver instal·lat el paquet RPM cups-backends.\nEl paquet proporciona el \"pipe\" del fons de CUPS que executa\nel programa que heu especificat aquí.\nL'URI coincident del dispositiu és aquest:<br>\npipe:/path/to/targetcommand<br>\n<b>Gestor d'errors Daisy-chain Backend (beh)</b><br>\nPer fer-ho, hi ha d'ahver instal·lat el paquet RPM cups-backends.\nEl paquet proporciona el fons de CUPS beh.<br>\nEl fons beh és un embolcall per al fons habitual,\nque és llavors cridat pel beh.\nD'aquesta manera, el beh pot, depenent de la seva configuració,\nrepetir la crida del fons o simplement amagar l'estat d'error\ndel fons perquè no sigui vist pel dimoni del CUPS.\nL'URI de dispositiu coincident és aquest:<br>\nbeh:/nodisable/attempts/delay/originalDeviceURI<br>\nSi el \"nodisable\" és 1, el beh sempre surt amb èxit,\nde manera que la cua mai no s'inhabilita; però, d'altra banda,\nles tasques d'impressió es perden si hi ha un error.<br>\n\"Attempts\" és el nombre d'intents de tornar a cridar el fons\nen cas d'un error. 0 significa intents infinits.<br>\n\"Delay\" és el nombre de segons entre dos intents per\ncridar el fons.<br>\nL'últim paràmetre és l'URI original, que la cua tenia abans.<br>\nExemple:<br>\nbeh:/1/3/5/socket://ip-address:port-number<br>\nEl fons beh intenta accedir a la impressora de xarxa 3 vegades amb un interval de 5 segons\nentre intents. Si l'accés encara falla, la cua no s'inhabilita\ni la tasca d'impressió es perd.<br>\nPer a <b>més informació</b> feu un cop d'ull a <tt>/usr/lib[64]/cups/backend/beh</tt> i br>\nhttp://www.linuxfoundation.org/en/OpenPrinting/Database/BackendErrorHandler\n</p>"
    ],
    "id_hash": -5832376672257071860,
    "content_hash": -5832376672257071860,
    "location": "src/include/printer/helps.rb:693",
    "context": "",
    "note": "ConnectionWizardDialog help 7/7:",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 256,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 263,
    "source_unit": "https://l10n.opensuse.org/api/units/12580091/?format=api",
    "priority": 100,
    "id": 2080180,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/ca/?checksum=2f0f3c515dd7a50c",
    "url": "https://l10n.opensuse.org/api/units/2080180/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T12:16:02Z"
}