Units API.

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

GET /api/units/1315342/?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": [
        "Could not open: {}"
    ],
    "previous_source": "",
    "target": [
        "Avaus ei onnistunut: {}"
    ],
    "id_hash": 3072915182762305533,
    "content_hash": 3072915182762305533,
    "location": "dnf/base.py:1355",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 59,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 4,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304837/?format=api",
    "priority": 100,
    "id": 1315342,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/fi/?checksum=aaa53013e573a7fd",
    "url": "https://translate.fedoraproject.org/api/units/1315342/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:24:58.199900Z",
    "last_updated": "2025-02-16T09:40:16.151043Z"
}