Units API.

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

GET /api/units/1341304/?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/uk/?format=api",
    "language_code": "uk",
    "source": [
        "You can remove cached packages by executing '%s'."
    ],
    "previous_source": "",
    "target": [
        "Кешовані пакунки можна вилучити за допомогою команди «%s»."
    ],
    "id_hash": -4022784401280387493,
    "content_hash": -4022784401280387493,
    "location": "dnf/base.py:529",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 37,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 8,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304793/?format=api",
    "priority": 100,
    "id": 1341304,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/uk/?checksum=482c32e691b3365b",
    "url": "https://translate.fedoraproject.org/api/units/1341304/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:30:31.429284Z",
    "last_updated": "2025-02-16T09:43:03.023374Z"
}