Units API.

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

GET /api/units/976789/?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/invitation/en/?format=api",
    "source": [
        "At least one user group to add must be defined"
    ],
    "previous_source": "",
    "target": [
        "At least one user group to add must be defined"
    ],
    "id_hash": -9120187395220796075,
    "content_hash": -8706284358007250056,
    "location": "",
    "context": "invitation.userRoleAssignment.validation.error.addUserRoles.notExisting",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 10,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/976789/?format=api",
    "priority": 100,
    "id": 976789,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/invitation/en/?checksum=016e95e286de8d55",
    "url": "http://translate.pkp.sfu.ca/api/units/976789/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-09-10T14:26:37.739171Z"
}