Units API.

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

GET /api/units/572642/?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-base/master/sv/?format=api",
    "source": [
        "A&dd"
    ],
    "previous_source": "",
    "target": [
        "L&ägg till"
    ],
    "id_hash": 8666126010783824611,
    "content_hash": 8666126010783824611,
    "location": "library/general/src/modules/UIHelper.rb:80",
    "context": "",
    "note": "Create an edit table with basic buttons.\n\nIt contains table and buttons Add, Edit, Delete. User may specify table header\nand content, content that will be placed above table, between table\nand buttons, below buttons and rights from buttons (usually another\nbutton).\n\n@param [Yast::Term] table_header Table header as defined in UI.\n@param [Array] table_contents Table items.\n@param [Yast::Term] above_table Content to place above table. There is no need to\nplace caption here, because the dialog has its caption.\nSet it to nil if you do not want to place anything here.\n@param [Yast::Term] below_table Contents to place between table and buttons.\nSet it to nil if you do not want to place anything here.\n@param [Yast::Term] below_buttons Content to place below bottons.\nSet it to nil if you do not want to place anything here.\n@param [Yast::Term] buttons Content to place rights from buttons. Usually\nan additional button, e.g. Set as default.\nSet it to nil if you do not want to place anything here.\n@return Content for the `SetWizardContent[Buttons]()`\n<B>UI elements ids:</B><table>\n<tr><td>Table</td><td>`table</td></tr>\n<tr><td>Button add</td><td>`add_button</td></tr>\n<tr><td>Button edit</td><td>`edit_button</td></tr>\n<tr><td>Button delete</td><td>`delete_button</td></tr>\n</table>",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 283,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 1,
    "source_unit": "https://l10n.opensuse.org/api/units/12570467/?format=api",
    "priority": 100,
    "id": 572642,
    "web_url": "https://l10n.opensuse.org/translate/yast-base/master/sv/?checksum=f84443b1138afae3",
    "url": "https://l10n.opensuse.org/api/units/572642/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-14T18:37:24Z"
}