Units API.

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

GET /api/units/50856/?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": [
        "当前图片过大,暂不支持翻译"
    ],
    "previous_source": "",
    "target": [
        "The current image is too large to support translation for the time being"
    ],
    "id_hash": 9125576628859894100,
    "content_hash": 5722313352553204146,
    "location": "",
    "context": "error.imageTooLarge",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 785,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 1,
    "source_unit": "https://weblate.immersivetranslate.com/api/units/50856/?format=api",
    "priority": 100,
    "id": 50856,
    "web_url": "https://weblate.immersivetranslate.com/translate/immersive-translate/extension/en/?checksum=fea48f9835ccf954",
    "url": "https://weblate.immersivetranslate.com/api/units/50856/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-06T06:29:48.629186Z"
}