Units API.

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

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

{
    "translation": "http://weblate.ops404.it/api/translations/ooops-mixin/odoo_marketplace/it/?format=api",
    "source": [
        "\n                <div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n\n                    % if object.status==\"approved\":\n                    <p>Hello ${object.company_id.partner_id.name},</p>\n\n                    <p>Seller ${object.marketplace_seller_id.name}'s, request for uploading the product ${object.name} on our shop has been approved.</p>\n                    %endif\n\n                    % if object.status==\"rejected\":\n                    <p>Hello ${object.company_id.partner_id.name},</p>\n\n                    <p>Seller ${object.marketplace_seller_id.name}'s, request for uploading the product ${object.name} on our shop has been rejected.</p>\n                    %endif\n\n\n                    </div>\n                            \n            "
    ],
    "previous_source": "",
    "target": [
        "\n                <div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n\n                    % if object.status==\"approved\":\n                    <p>Ciao ${object.company_id.partner_id.name},</p>\n\n                    <p>La richiesta del negozio ${object.marketplace_seller_id.name} di caricare il prodotto ${object.name} sul nostro marketplace è stata approvata.</p>\n                    %endif\n\n                    % if object.status==\"rejected\":\n                    <p>Ciao ${object.company_id.partner_id.name},</p>\n\n                    <p>La richiesta del negozio ${object.marketplace_seller_id.name} di caricare il prodotto ${object.name} sul nostro marketplace è stata rifiutata.</p>\n                    %endif\n\n\n                    </div>\n                            \n            "
    ],
    "id_hash": 4171755673612422660,
    "content_hash": 4171755673612422660,
    "location": "model:mail.template,body_html:odoo_marketplace.marketplace_template_for_product_status_changeto_admin",
    "context": "",
    "note": "module: odoo_marketplace",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 4,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 58,
    "source_unit": "http://weblate.ops404.it/api/units/44116/?format=api",
    "priority": 100,
    "id": 45189,
    "web_url": "http://weblate.ops404.it/translate/ooops-mixin/odoo_marketplace/it/?checksum=b9e50daea7638e04",
    "url": "http://weblate.ops404.it/api/units/45189/?format=api",
    "explanation": "",
    "extra_flags": ""
}