Units API.

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

GET /api/units/1325878/?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/lt/?format=api",
    "language_code": "lt",
    "source": [
        "Failed to add groups file for repository: %s - %s"
    ],
    "previous_source": "",
    "target": [
        "Nepavyko pridėti grupių failo saugyklai: %s - %s"
    ],
    "id_hash": 3780610366596735461,
    "content_hash": 3780610366596735461,
    "location": "dnf/base.py:720",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 39,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 10,
    "source_unit": "https://translate.fedoraproject.org/api/units/1304797/?format=api",
    "priority": 100,
    "id": 1325878,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-master/lt/?checksum=b4776d190f2861e5",
    "url": "https://translate.fedoraproject.org/api/units/1325878/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-03-23T11:27:13.240112Z",
    "last_updated": "2025-02-16T09:41:27.870076Z"
}