Units API.

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

GET /api/units/1337243/?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/sr/?format=api",
    "language_code": "sr",
    "source": [
        "The downloaded packages were saved in cache until the next successful transaction."
    ],
    "previous_source": "",
    "target": [
        "Преузети пакети су сачувану у кешу до следеће успешне трансакције."
    ],
    "id_hash": 8860984464688064033,
    "content_hash": 8860984464688064033,
    "location": "dnf/base.py:527",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 36,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 12,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304791/?format=api",
    "priority": 100,
    "id": 1337243,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/sr/?checksum=faf88a6c51fca621",
    "url": "https://translate.fedoraproject.org/api/units/1337243/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:29:37.788641Z",
    "last_updated": "2025-02-16T09:42:39.500909Z"
}