Units API.

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

GET /api/units/976895/?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": [
        "Are you sure you want to cancel? Canceling now will stop the role acceptance process, and you’ll need to restart from the invitation email to accept the role again. If you’re already a user, you’ll be taken back to the dashboard. If not, you’ll need to access the invitation email to start the process again."
    ],
    "previous_source": "",
    "target": [
        "Are you sure you want to cancel? Canceling now will stop the role acceptance process, and you’ll need to restart from the invitation email to accept the role again. If you’re already a user, you’ll be taken back to the dashboard. If not, you’ll need to access the invitation email to start the process again."
    ],
    "id_hash": -6203163597358189228,
    "content_hash": 2770708828076083491,
    "location": "",
    "context": "acceptInvitation.cancel.message",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 117,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 55,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/976895/?format=api",
    "priority": 100,
    "id": 976895,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/invitation/en/?checksum=29e9ef92efd4b554",
    "url": "http://translate.pkp.sfu.ca/api/units/976895/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-09-10T14:26:41.107605Z"
}