Units API.

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

GET /api/units/2142338/?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/zh_TW/?format=api",
    "source": [
        "There are pending print jobs which might be deleted now."
    ],
    "previous_source": "",
    "target": [
        "存在待處理的列印工作,這些工作可能會立即刪除。"
    ],
    "id_hash": 5309136639673586997,
    "content_hash": 5309136639673586997,
    "location": "src/include/printer/overview.rb:860",
    "context": "",
    "note": "it seems something went wrong with the testpage printing\nso that the user can delete all pending jobs now.\nVia the \"cancel\" command the cupsd sends termination signals\nto running filter processes for the queue so that the filters\n(in particular the printer driver) could do whatever is needed\nto switch an actively printing printer device into a clean state\n(e.g. exit its graphics printing mode and switch back to normal mode).\nThe backend process terminates when the filters have finished.\nThis helps in usual cases (in particular when a good driver is used)\nif something had messed up for an actively printing job but\nunfortunately there is no option for the \"cancel\" command\nwhich lets the cupsd kill the backend process as emergency brake\nwhen something is really wrong e.g. a wrong driver lets the printer\nspit out zillions of sheets with nonsense characters.\nWhen this command fails for whatever reason, it is a safe fallback\nto assume that there are no pending jobs in the queue:",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 314,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 10,
    "source_unit": "https://l10n.opensuse.org/api/units/12580149/?format=api",
    "priority": 100,
    "id": 2142338,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/zh_TW/?checksum=c9add7a50fc15535",
    "url": "https://l10n.opensuse.org/api/units/2142338/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T12:16:05Z"
}