Units API.

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

GET /api/units/1315386/?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/fi/?format=api",
    "language_code": "fi",
    "source": [
        "Package \"{}\" from local repository \"{}\" has incorrect checksum"
    ],
    "previous_source": "",
    "target": [
        "Paketilla ”{}” paikallisesta tietovarastosta ”{}” on väärä tarkistussumma"
    ],
    "id_hash": 6980367604563804472,
    "content_hash": 6980367604563804472,
    "location": "dnf/base.py:2740",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 100,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 9,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304925/?format=api",
    "priority": 100,
    "id": 1315386,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/fi/?checksum=e0df3f5a4fab8138",
    "url": "https://translate.fedoraproject.org/api/units/1315386/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:24:58.930711Z",
    "last_updated": "2025-03-20T12:17:37.228771Z"
}