Units API.

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

GET /api/units/18180912/?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-plugins-core-l10n-master/zh_CN/?format=api",
    "language_code": "zh_CN",
    "source": [
        "As a result, installing packages signed with this key will fail.\nIt is recommended to remove the expired key to allow importing\nan updated key. This might leave already installed packages unverifiable."
    ],
    "previous_source": "",
    "target": [
        "因此,安装使用此密钥签名的软件包将失败。\n建议删除过期的密钥以允许导入\n更新的密钥。这可能会导致已安装的软件包无法验证。"
    ],
    "id_hash": -1421674165614491158,
    "content_hash": -1421674165614491158,
    "location": "plugins/expired-pgp-keys.py:39",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 129,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 32,
    "source_unit": "https://translate.fedoraproject.org/api/units/18180726/?format=api",
    "priority": 100,
    "id": 18180912,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-plugins-core-l10n-master/zh_CN/?checksum=6c4532e0f432c9ea",
    "url": "https://translate.fedoraproject.org/api/units/18180912/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-07-27T09:39:08.808719Z",
    "last_updated": "2025-04-02T09:20:56.164268Z"
}