Units API.

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

GET /api/units/1334660/?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/pt_BR/?format=api",
    "language_code": "pt_BR",
    "source": [
        "---> Package %s.%s %s will be installed"
    ],
    "previous_source": "",
    "target": [
        "---> O pacote %s.%s %s será instalado"
    ],
    "id_hash": -2727222033611968786,
    "content_hash": -2727222033611968786,
    "location": "dnf/cli/output.py:1898",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 713,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 7,
    "source_unit": "https://translate.fedoraproject.org/api/units/1306121/?format=api",
    "priority": 100,
    "id": 1334660,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/pt_BR/?checksum=5a26f60286f0aeee",
    "url": "https://translate.fedoraproject.org/api/units/1334660/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:29:04.870164Z",
    "last_updated": "2025-02-16T09:42:18.238446Z"
}