Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/326/?format=api
{ "translation": "https://weblate.immersivetranslate.com/api/translations/immersive-translate/extension/en/?format=api", "source": [ "以系统身份发送给{service}的翻译请求,其中{{text}}表示需要翻译的段落内容,{{from}}表示源语言,{{to}}表示目标语言。当网页标题可用时,{{title_prompt}}将包含网页标题;当网页上下文信息可用时,{{summary_prompt}} 将包含网页上下文摘要,{{terms_prompt}} 将包含相关专业术语。" ], "previous_source": "", "target": [ "The dialogue sent to {service} as a system, where {{text}} represents the text content of the paragraph, {{from}} represents the language of the paragraph, and {{to}} represents the target language." ], "id_hash": -711122600894548506, "content_hash": 2490452260779291423, "location": "", "context": "description.systemPrompt", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 300, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://weblate.immersivetranslate.com/api/units/326/?format=api", "priority": 100, "id": 326, "web_url": "https://weblate.immersivetranslate.com/translate/immersive-translate/extension/en/?checksum=762195c31dedb5e6", "url": "https://weblate.immersivetranslate.com/api/units/326/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-06-18T14:56:45.430144Z" }