Changes API.

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

GET /api/changes/198937/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "unit": "http://weblate.crnd.pro/api/units/676801/?format=api",
    "component": "http://weblate.crnd.pro/api/components/bureaucrat-generics-17-0/generic_request_sla/?format=api",
    "translation": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-17-0/generic_request_sla/uk/?format=api",
    "glossary_term": null,
    "user": "http://weblate.crnd.pro/api/users/am@crnd.pro/?format=api",
    "author": "http://weblate.crnd.pro/api/users/am@crnd.pro/?format=api",
    "timestamp": "2025-02-25T14:37:18.959287+02:00",
    "action": 5,
    "target": "<div style=\"width: 600px\">\n\n            <div id=\"request-mail-header\">\n                <div itemscope=\"itemscope\" itemtype=\"http://schema.org/EmailMessage\">\n                    <div itemprop=\"potentialAction\" itemscope=\"itemscope\" itemtype=\"http://schema.org/ViewAction\">\n                        <link itemprop=\"target\" target=\"_blank\" t-att-href=\"object.get_mail_url(pid=object.author_id.id)\">\n                        <link itemprop=\"url\" target=\"_blank\" t-att-href=\"object.get_mail_url(pid=object.author_id.id)\">\n                        <meta itemprop=\"name\" content=\"View Request\">\n                    </div>\n                </div>\n                <table id=\"request-mail-header-table\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"margin:5px 0 0 0;box-sizing:border-box;border-collapse:collapse;caption-side:bottom;width: 100%; margin-top: 5px;\" width=\"100%\">\n                    <tbody style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n                        <tr style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n                            <td id=\"td-view-request\" valign=\"center\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n                                <a target=\"_blank\" t-att-href=\"object.get_mail_url(pid=object.author_id.id)\" style=\"border-style:solid;box-sizing:border-box;border-left-color:#875a7b;border-bottom-color:#875a7b;border-right-color:#875a7b;border-top-color:#875a7b;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;display: table-cell; padding: 8px 12px; font-size: 12px; color: #FFFFFF; text-decoration: none ; font-weight: 400; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px\">\n                                   Переглянути запит\n                                </a>\n                            </td>\n                            <td id=\"td-company\" valign=\"center\" align=\"right\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n                                <img t-attf-src=\"/logo.png{{ '?company=%s' % company.id if company else '' }}\" style=\"box-sizing:border-box;vertical-align:middle;padding: 0px; margin: 0px; height: auto; max-width: 80px; max-height: 40px;\" t-att-alt=\"company.name if company else ''\">\n                            </td>\n                        </tr>\n                    </tbody>\n                </table>\n            </div>\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;\">\n\n\n            <div id=\"request-mail-template-body\">\n                <p style=\"margin:0px 0 12px 0;box-sizing:border-box;\">Dear, <t t-out=\"object._get_last_event_sla_warning_assigned_partner_id().name\"></t></p>\n                <p>Запит<strong><a t-att-href=\"object.get_mail_url(object._get_last_event_sla_warning_assigned_partner_id().id)\" target=\"_blank\" t-esc=\"object.display_name\"></a></strong>\n                призначений вам, досягнув дати попередження про закінчення терміну дії SLA. Будь ласка, вживіть заходів, щоб завершити його до настання граничної дати SLA (<t t-esc=\"object.sla_limit_date\"></t>).</p>\n            </div>\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;\">\n\n\n            <div id=\"request-mail-request-info\">\n                <table cellspacing=\"0\" border=\"0\" style=\"margin:5px 0 0 0;box-sizing:border-box;border-collapse:collapse;caption-side:bottom;width: 100%; margin-top: 5px; max-width: 600px\" width=\"100%\">\n                    <tbody style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n                        <tr t-if=\"object.parent_id\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n                            <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">\n                                Батьківський запит\n                            </th>\n                            <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n                                <a t-att-href=\"object.parent_id.get_mail_url(object.author_id.id)\" target=\"_blank\" t-esc=\"object.parent_id.name\" style=\"text-decoration: none; box-sizing: border-box; color: #495057;\"></a>\n                            </td>\n                        </tr>\n                        <tr style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n                            <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Стадія</th>\n                            <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n                                <span t-esc=\"object.stage_id.display_name\"></span>\n                            </td>\n                        </tr>\n                        <tr t-if=\"object.category_id\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\" class=\"request-info-category\">\n                            <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Категорія</th>\n                            <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n                                <span t-esc=\"object.sudo().category_id.display_name\"></span>\n                            </td>\n                        </tr>\n                        <tr style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\" class=\"request-info-type\">\n                            <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Тип</th>\n                            <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n                                <span t-esc=\"object.sudo().type_id.display_name\"></span>\n                            </td>\n                        </tr>\n                        <tr style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n                            <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Автор</th>\n                            <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n                                <span t-esc=\"object.sudo().author_id.name\"></span>\n                            </td>\n                        </tr>\n                        <tr t-if=\"object.sudo().created_by_id.partner_id != object.sudo().author_id\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n                            <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Створив</th>\n                            <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n                                <span t-esc=\"object.sudo().created_by_id.name\"></span>\n                            </td>\n                        </tr>\n                        <tr t-if=\"object.sudo().user_id and not hide_assignee\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n                            <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Призначений</th>\n                            <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n                                <span t-esc=\"object.sudo().user_id.name\"></span>\n                            </td>\n                        </tr>\n                        </tbody>\n                </table>\n            </div>\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;\">\n\n\n            <div id=\"request-request-response-box\" style=\"padding: 0px; width:600px;\">\n                    <div>\n                        <p style=\"margin:0px 0 12px 0;box-sizing:border-box;\"><strong style=\"box-sizing:border-box;font-weight:bolder;\">Текст запиту:</strong></p>\n                        <t t-out=\"object.sudo().request_text_sample\"></t>\n                        <t t-if=\"object.sudo().is_large_request_text\">\n                            <a t-att-href=\"object.get_mail_url(pid=object.author_id.id)\" target=\"_blank\" style=\"text-decoration: none; box-sizing: border-box; color: #495057;\">...</a>\n                        </t>\n                    </div>\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;\">\n                    <div>\n                        <p style=\"margin:0px 0 12px 0;box-sizing:border-box;\"><strong style=\"box-sizing:border-box;font-weight:bolder;\">Текст відповіді:</strong></p>\n                        <t t-out=\"object.sudo().response_text\"></t>\n                    </div>\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;\">\n            </div>\n        </div>\n        ",
    "id": 198937,
    "action_name": "New translation",
    "url": "http://weblate.crnd.pro/api/changes/198937/?format=api"
}