Units API.

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

GET /api/units/1307199/?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/ca/?format=api",
    "language_code": "ca",
    "source": [
        "The downloaded packages were saved in cache until the next successful transaction."
    ],
    "previous_source": "",
    "target": [
        "Els paquets baixats es desen a la memòria cau fins a la propera transacció reeixida."
    ],
    "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": 1307199,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/ca/?checksum=faf88a6c51fca621",
    "url": "https://translate.fedoraproject.org/api/units/1307199/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:23:13.694622Z",
    "last_updated": "2025-02-16T09:39:20.913912Z"
}