Units API.

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

GET /api/units/6049811/?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/?format=api",
    "language_code": "en",
    "source": [
        "Sleep for {} second",
        "Sleep for {} seconds"
    ],
    "previous_source": "",
    "target": [
        "Sleep for {} second",
        "Sleep for {} seconds"
    ],
    "id_hash": -2965048816554139296,
    "content_hash": -2965048816554139296,
    "location": "dnf/automatic/main.py:336",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 17,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 4,
    "source_unit": "https://translate.fedoraproject.org/api/units/6049811/?format=api",
    "priority": 100,
    "id": 6049811,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/en/?checksum=56da07cf93992160",
    "url": "https://translate.fedoraproject.org/api/units/6049811/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-10-26T17:15:16.214927Z",
    "last_updated": "2024-12-13T10:38:44.973855Z"
}