Units API.

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

GET /api/units/929118/?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/ca/?format=api",
    "source": [
        "<div class='section'>    <div class='section-number'>{$sectionNumber}.</div>    <div class='section-content'>        <h2>{$sectionName}</h2>        <p>Starting from {$dateStart}</p>        <p>{$sectionEndingDate}</p>        <p>{$sectionMastheadAppear}</p>    </div></div>"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 7529475135984903269,
    "content_hash": 3561400383050495517,
    "location": "",
    "context": "emails.userRoleAssignmentInvitationNotify.userGroupSection",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 85,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 13,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/928797/?format=api",
    "priority": 100,
    "id": 929118,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/emails/ca/?checksum=e87e11be49842465",
    "url": "http://translate.pkp.sfu.ca/api/units/929118/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-02-28T23:30:17.925511Z"
}