Units API.

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

GET /api/units/11449366/?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-rmt/master/zh_TW/?format=api",
    "source": [
        "Execution of command \"%{command}\" failed.\nExit code: %{exitcode}\nError output: %{stderr}"
    ],
    "previous_source": "",
    "target": [
        "執行指令 \"%{command}\" 失敗。\n結束代碼:%{exitcode}\n錯誤輸出:%{stderr}"
    ],
    "id_hash": 4249245614444512985,
    "content_hash": 4249245614444512985,
    "location": "src/lib/rmt/execute.rb:54",
    "context": "",
    "note": "This module is copypasta from version 4 of Yast::Execute.\nLeap 42.* and SLE12 has Yast version 3 which doesn't have `on_target!` method.\nIdeally. this needs to be removed and replaced with Yast::Execute once Leap 15 and SLE15 are out.",
    "flags": "perl-brace-format",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 11,
    "source_unit": "https://l10n.opensuse.org/api/units/12679310/?format=api",
    "priority": 100,
    "id": 11449366,
    "web_url": "https://l10n.opensuse.org/translate/yast-rmt/master/zh_TW/?checksum=baf85a5f745a06d9",
    "url": "https://l10n.opensuse.org/api/units/11449366/?format=api",
    "explanation": "",
    "extra_flags": ""
}