Units API.

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

GET /api/units/49251/?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-document-translation/official/zh_Hans/?format=api",
    "source": [
        "The annual Black Friday shopping event is Zhang's most anticipated global online shopping extravaganza. He thoroughly researches the features, prices, and real user reviews of each product on Amazon and eBay. Immersive Translate makes everything easy, helping Zhang make the most cost-effective shopping decisions."
    ],
    "previous_source": "",
    "target": [
        "每年的黑五购物节是小张最期待的全球海淘盛事。他会在 Amazon 和 Ebay 上详细研究每款产品的特性、价格以及真实用户的评价。沉浸式翻译让这一切变得轻松,帮助小张做出了最具性价比的购物决策。"
    ],
    "id_hash": -3068047030145209961,
    "content_hash": -4284846687072821992,
    "location": "",
    "context": "page.usegescenarios.content10.desc.message",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 294,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 44,
    "source_unit": "https://weblate.immersivetranslate.com/api/units/26118/?format=api",
    "priority": 100,
    "id": 49251,
    "web_url": "https://weblate.immersivetranslate.com/translate/immersive-document-translation/official/zh_Hans/?checksum=556c1b7b3600a997",
    "url": "https://weblate.immersivetranslate.com/api/units/49251/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-02-28T08:45:30.593182Z"
}