Units API.

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

GET /api/units/1342108/?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_CN/?format=api",
    "language_code": "zh_CN",
    "source": [
        "%s: has expired and will be refreshed."
    ],
    "previous_source": "",
    "target": [
        "%s: 已过期并不会被刷新。"
    ],
    "id_hash": 4203216033791604833,
    "content_hash": 4203216033791604833,
    "location": "dnf/base.py:371",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 29,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 7,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304777/?format=api",
    "priority": 100,
    "id": 1342108,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/zh_CN/?checksum=ba54d2b6905ff861",
    "url": "https://translate.fedoraproject.org/api/units/1342108/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:30:42.154315Z",
    "last_updated": "2025-02-16T09:43:11.203505Z"
}