Units API.

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

GET /api/units/20860/?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/hu/?format=api",
    "source": [
        "A translation request sent to {service} as a system, where {{text}} represents the content of the paragraph to be translated, {{from}} represents the source language, and {{to}} represents the target language. If the page title is available, {{title_prompt}} will contain the page title; if the page context is available, {{summary_prompt}} will contain a summary of the page context, and {{terms_prompt}} will contain the relevant terminology."
    ],
    "previous_source": "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.",
    "target": [
        "A {service}-nek küldött párbeszéd mint rendszer, ahol {{text}}} a bekezdés szöveges tartalmát, {{from}} a bekezdés nyelvét, {{to}} pedig a célnyelvet jelöli."
    ],
    "id_hash": -711122600894548506,
    "content_hash": -4098881816721642345,
    "location": "",
    "context": "description.systemPrompt",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 298,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 65,
    "source_unit": "https://weblate.immersivetranslate.com/api/units/326/?format=api",
    "priority": 100,
    "id": 20860,
    "web_url": "https://weblate.immersivetranslate.com/translate/immersive-translate/extension/hu/?checksum=762195c31dedb5e6",
    "url": "https://weblate.immersivetranslate.com/api/units/20860/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-02-17T17:16:47.269206Z"
}