Units API.

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

GET /api/units/2142310/?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 before the testpage is printed."
    ],
    "previous_source": "",
    "target": [
        "存在待處理的列印工作,列印測試頁之前可能會刪除這些工作。"
    ],
    "id_hash": 3303899046936099373,
    "content_hash": 3303899046936099373,
    "location": "src/include/printer/overview.rb:721",
    "context": "",
    "note": "Test whether there are already pending jobs in a local queue.\nIf yes, the queue is usually currently actively printing because\nthe test above makes sure that the queue has printing enabled.\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": 300,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 14,
    "source_unit": "https://l10n.opensuse.org/api/units/12580135/?format=api",
    "priority": 100,
    "id": 2142310,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/zh_TW/?checksum=add9ceadaa60ba2d",
    "url": "https://l10n.opensuse.org/api/units/2142310/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T12:16:04Z"
}