Units API.

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

GET /api/units/12537175/?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/cockpit-ostree/main/zh_CN/?format=api",
    "language_code": "zh_CN",
    "source": [
        "Failed to roll back deployment"
    ],
    "previous_source": "",
    "target": [
        "回滚部署失败"
    ],
    "id_hash": 3982690502412429579,
    "content_hash": 3982690502412429579,
    "location": "src/ostree.jsx:279",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 25,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 5,
    "source_unit": "https://translate.fedoraproject.org/api/units/12536993/?format=api",
    "priority": 100,
    "id": 12537175,
    "web_url": "https://translate.fedoraproject.org/translate/cockpit-ostree/main/zh_CN/?checksum=b7455be9269d690b",
    "url": "https://translate.fedoraproject.org/api/units/12537175/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T14:20:36.070645Z",
    "last_updated": "2025-03-29T04:24:51.299028Z"
}