Units API.

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

GET /api/units/1342949/?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": [
        "Cannot add local packages, because transaction job already exists"
    ],
    "previous_source": "",
    "target": [
        "因為已經有處理事項工作,無法加入本機軟體包"
    ],
    "id_hash": 6033468930748785981,
    "content_hash": 6033468930748785981,
    "location": "dnf/base.py:1341",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 58,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 9,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304835/?format=api",
    "priority": 100,
    "id": 1342949,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/zh_TW/?checksum=d3bb30069ca3253d",
    "url": "https://translate.fedoraproject.org/api/units/1342949/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:30:53.099602Z",
    "last_updated": "2025-02-16T09:43:19.590212Z"
}