Units API.

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

GET /api/units/1315387/?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": [
        "Some packages from local repository have incorrect checksum"
    ],
    "previous_source": "",
    "target": [
        "Joillakin paikallisen tietovaraston paketeilla on väärä tarkistussumma"
    ],
    "id_hash": -6923111925233299879,
    "content_hash": -6923111925233299879,
    "location": "dnf/base.py:2743",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 101,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 8,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304927/?format=api",
    "priority": 100,
    "id": 1315387,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/fi/?checksum=1fec2a625c32ce59",
    "url": "https://translate.fedoraproject.org/api/units/1315387/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:24:58.942097Z",
    "last_updated": "2025-03-20T12:12:45.005914Z"
}