Units API.

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

GET /api/units/1335051/?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/ru/?format=api",
    "language_code": "ru",
    "source": [
        "install: mark as installed by user\nremove: unmark as installed by user\ngroup: mark as installed by group"
    ],
    "previous_source": "",
    "target": [
        "install: отметить как установленное пользователем\nremove: снять пометку установки пользователем\ngroup: отметить как установленное группой"
    ],
    "id_hash": -2987567765127495240,
    "content_hash": -2987567765127495240,
    "location": "dnf/cli/commands/mark.py:44",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 292,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 18,
    "source_unit": "https://translate.fedoraproject.org/api/units/1305279/?format=api",
    "priority": 100,
    "id": 1335051,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/ru/?checksum=568a06f2492b01b8",
    "url": "https://translate.fedoraproject.org/api/units/1335051/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:29:10.231433Z",
    "last_updated": "2025-02-16T09:42:20.842477Z"
}