Units API.

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

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

{
    "translation": "https://weblate.immersivetranslate.com/api/translations/immersive-translate/extension/en/?format=api",
    "source": [
        "启用 AI 精翻后,翻译时 AI 会自动关联上下文,深度理解当前语境,翻译质量更优"
    ],
    "previous_source": "",
    "target": [
        "After enabling AI Context Translation, AI will automatically associate context during translation, deeply understand the current context, and provide better translation quality"
    ],
    "id_hash": -6078256280847346348,
    "content_hash": 7168029980059257507,
    "location": "",
    "context": "dialog.aiContextDesc",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1146,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 5,
    "source_unit": "https://weblate.immersivetranslate.com/api/units/70245/?format=api",
    "priority": 100,
    "id": 70245,
    "web_url": "https://weblate.immersivetranslate.com/translate/immersive-translate/extension/en/?checksum=2ba5b21dd64e9554",
    "url": "https://weblate.immersivetranslate.com/api/units/70245/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-09-11T12:26:40.027843Z"
}