Units API.

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

GET /api/units/1334921/?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": [
        "This command has to be run with superuser privileges (under the root user on most systems)."
    ],
    "previous_source": "",
    "target": [
        "Эту команду нужно запускать с привилегиями суперпользователя (на большинстве систем - под именем пользователя root)."
    ],
    "id_hash": -4540989383676353367,
    "content_hash": -4540989383676353367,
    "location": "dnf/cli/cli.py:767",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 145,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 16,
    "source_unit": "https://translate.fedoraproject.org/api/units/1305019/?format=api",
    "priority": 100,
    "id": 1334921,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/ru/?checksum=40fb2a36f926a4a9",
    "url": "https://translate.fedoraproject.org/api/units/1334921/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:29:08.557143Z",
    "last_updated": "2025-02-16T09:42:20.272551Z"
}