Units API.

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

GET /api/units/2072352/?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/af/?format=api",
    "source": [
        "Select a driver."
    ],
    "previous_source": "",
    "target": [
        "Kies eers 'n aandrywer"
    ],
    "id_hash": 7448054423885631697,
    "content_hash": 7448054423885631697,
    "location": "src/include/printer/basicadd.rb:186, src/include/printer/basicadd.rb:355, src/include/printer/basicadd.rb:587, src/include/printer/basicmodify.rb:1013, src/modules/Printer.rb:1933, src/modules/Printer.rb:1959",
    "context": "",
    "note": "By default there is no UserInput()\nif only something was selected in the SelectionBox\n(without clicking additionally a button)\nbut the notify option forces UserInput() in this case:\nBody of a Popup::AnyMessage when no driver was selected:\nBody of a Popup::AnyMessage when no driver was selected:\nBody of a Popup::AnyMessage when no driver was selected:\nbecause the first entry in a SelectionBox is always preselected in the GUI\n(it does not help to have all items in a SelectionBox with 'false' as third argument).\nDo not have this dummy entry preselected (i.e. no 'true' as a third argument)\nbecause in the BasicModifyDialog the currently used driver is additionally prepended\nand then the currently used driver must be preselected by default because\nthe currently used driver is then the very first entry in the SelectionBox.\nbecause the first entry in a SelectionBox is always preselected in the GUI\n(it does not help to have all items in a SelectionBox with 'false' as third argument).\nDo not have this dummy entry preselected (i.e. no 'true' as a third argument)\nbecause in the BasicModifyDialog the currently used driver is additionally prepended\nand then the currently used driver must be preselected by default because\nthe currently used driver is then the very first entry in the SelectionBox.",
    "flags": "",
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 46,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 3,
    "source_unit": "https://l10n.opensuse.org/api/units/12579882/?format=api",
    "priority": 100,
    "id": 2072352,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/af/?checksum=e75cce097b7ad0d1",
    "url": "https://l10n.opensuse.org/api/units/2072352/?format=api",
    "explanation": "",
    "extra_flags": ""
}