Units API.

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

GET /api/units/681334/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-17-0/generic_request_mail_action/en/?format=api",
    "source": [
        "<div style=\"width: 600px\">\n                <t t-set=\"buttons\" t-value=\" object._get_buttons_available_mail_routes( )\"></t>\n                <t t-if=\"buttons\">\n                    <p t-if=\"object.stage_id.description\" t-field=\"object.stage_id.description\" style=\"margin:0px 0 12px 0;box-sizing:border-box;\"></p>\n\n\n                    <div style=\"display: flex; gap: 8px; flex-wrap: wrap;\">\n                        <t t-foreach=\"buttons\" t-as=\"button\">\n                            <a t-attf-href=\"{{ button.get('url') }}\" t-esc=\"button.get('title')\" style=\"box-sizing:border-box;padding: 8px 12px; font-size: 12px; color: #FFFFFF;                           text-decoration: none ; font-weight: 400;                           background-color: #875A7B; border-radius: 3px;                           display: inline-block; text-align: center;\">\n                            </a>\n                        </t>\n                    </div>\n\n                    <hr style=\"border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;margin:12px 0px;box-sizing:border-box;height:1px;opacity:0.25;border-width:0px;background-color:currentcolor;color:#495057;border-style:none\">\n                </t>\n            </div><p style=\"margin:0px 0 0px 0;box-sizing:border-box;margin-bottom: 0px;\">\n        </p>\n        "
    ],
    "previous_source": "",
    "target": [
        "<div style=\"width: 600px\">\n                <t t-set=\"buttons\" t-value=\" object._get_buttons_available_mail_routes( )\"></t>\n                <t t-if=\"buttons\">\n                    <p t-if=\"object.stage_id.description\" t-field=\"object.stage_id.description\" style=\"margin:0px 0 12px 0;box-sizing:border-box;\"></p>\n\n\n                    <div style=\"display: flex; gap: 8px; flex-wrap: wrap;\">\n                        <t t-foreach=\"buttons\" t-as=\"button\">\n                            <a t-attf-href=\"{{ button.get('url') }}\" t-esc=\"button.get('title')\" style=\"box-sizing:border-box;padding: 8px 12px; font-size: 12px; color: #FFFFFF;                           text-decoration: none ; font-weight: 400;                           background-color: #875A7B; border-radius: 3px;                           display: inline-block; text-align: center;\">\n                            </a>\n                        </t>\n                    </div>\n\n                    <hr style=\"border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;margin:12px 0px;box-sizing:border-box;height:1px;opacity:0.25;border-width:0px;background-color:currentcolor;color:#495057;border-style:none\">\n                </t>\n            </div><p style=\"margin:0px 0 0px 0;box-sizing:border-box;margin-bottom: 0px;\">\n        </p>\n        "
    ],
    "id_hash": 9191731560255098011,
    "content_hash": 9191731560255098011,
    "location": "model:mail.template,body_html:generic_request_mail_action.mail_template_request_mail_action",
    "context": "",
    "note": "module: generic_request_mail_action",
    "flags": "",
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 66,
    "source_unit": "http://weblate.crnd.pro/api/units/681334/?format=api",
    "priority": 100,
    "id": 681334,
    "web_url": "http://weblate.crnd.pro/translate/bureaucrat-generics-17-0/generic_request_mail_action/en/?checksum=ff8f972777c08c9b",
    "url": "http://weblate.crnd.pro/api/units/681334/?format=api",
    "explanation": "",
    "extra_flags": ""
}