Units API.

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

GET /api/units/12580091/?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/en/?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>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>"
    ],
    "id_hash": -5832376672257071860,
    "content_hash": -5832376672257071860,
    "location": "src/include/printer/helps.rb:693",
    "context": "",
    "note": "ConnectionWizardDialog help 7/7:",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 256,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 263,
    "source_unit": "https://l10n.opensuse.org/api/units/12580091/?format=api",
    "priority": 100,
    "id": 12580091,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/en/?checksum=2f0f3c515dd7a50c",
    "url": "https://l10n.opensuse.org/api/units/12580091/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T12:16:02Z"
}