Units API.

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

GET /api/units/1311275/?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/en_GB/?format=api",
    "language_code": "en_GB",
    "source": [
        "Could not run transaction."
    ],
    "previous_source": "",
    "target": [
        "Could not run transaction."
    ],
    "id_hash": -7000897956861001689,
    "content_hash": -7000897956861001689,
    "location": "dnf/base.py:1163, dnf/base.py:1171",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 52,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 4,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304823/?format=api",
    "priority": 100,
    "id": 1311275,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/en_GB/?checksum=1ed7d0668c8ac027",
    "url": "https://translate.fedoraproject.org/api/units/1311275/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:24:06.616000Z",
    "last_updated": "2025-02-16T09:39:51.504472Z"
}