Units API.

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

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

{
    "translation": "http://translate.pkp.sfu.ca/api/translations/pkp-lib/emails/ro/?format=api",
    "source": [
        "<div class='email-container'>    <div class='email-header'>        <h2>Removed from a Role</h2>    </div>    <div class='email-content'>        <p>Dear {$recipientName},</p>        <p>Thank you very much for your participation in the role of {$roleRemoved} at {$contextName}.</p>        <p>This is a notice to let you know that you have been removed from the following role at {$contextName}: <b>{$roleRemoved}</b>.</p>        <p>Your account with {$contextName} is still active and any other roles you previously held are still active.</p>        <p>Feel free to contact me with any questions about the process.</p>        <p>Kind regards,</p>        <p>{$contextName}</p>    </div></div><style>{$emailTemplateStyle}</style>"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -7365522868911771428,
    "content_hash": 700501342924308190,
    "location": "",
    "context": "emails.userRoleEndNotify.body",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 89,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 79,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/928801/?format=api",
    "priority": 100,
    "id": 930781,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/emails/ro/?checksum=19c867f9957f70dc",
    "url": "http://translate.pkp.sfu.ca/api/units/930781/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-02-28T23:30:51.809923Z"
}