Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/dnf/dnf-master/zh_TW/?format=api",
    "language_code": "zh_TW",
    "source": [
        "Metadata timer caching disabled when running on a battery."
    ],
    "previous_source": "",
    "target": [
        "當使用電池時,停用中介資料定時快取。"
    ],
    "id_hash": -6869057762625624966,
    "content_hash": -6869057762625624966,
    "location": "dnf/base.py:346",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 24,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 9,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304767/?format=api",
    "priority": 100,
    "id": 1342915,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/zh_TW/?checksum=20ac345bd50f647a",
    "url": "https://translate.fedoraproject.org/api/units/1342915/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:30:52.669112Z",
    "last_updated": "2025-02-16T09:43:19.440273Z"
}