Units API.

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

GET /api/units/1307668/?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/ca/?format=api",
    "language_code": "ca",
    "source": [
        "show {prog} version and exit"
    ],
    "previous_source": "",
    "target": [
        "mostra la versió de {prog} i surt"
    ],
    "id_hash": 6535333518994464219,
    "content_hash": 6535333518994464219,
    "location": "dnf/cli/option_parser.py:182",
    "context": "",
    "note": "",
    "flags": "python-brace-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 519,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 5,
    "source_unit": "https://translate.fedoraproject.org/api/units/1305729/?format=api",
    "priority": 100,
    "id": 1307668,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/ca/?checksum=dab22b35b85e5ddb",
    "url": "https://translate.fedoraproject.org/api/units/1307668/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:23:19.685093Z",
    "last_updated": "2025-03-20T19:03:16.028629Z"
}