Units API.

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

GET /api/units/578091/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/main-solrtranslations/zh/?format=api",
    "source": [
        "Some documents don't have a language set because they contain scripts (which are not written in a natural language) or they make up the user interface which is displayed in the current language (like this page)."
    ],
    "previous_source": "",
    "target": [
        "一些文档没有设置语言,因为它们包含脚本(这些脚本不是用自然语言编写的)或者它们构成了用户界面,这些界面按当前语言显示(就像本页面一样)。"
    ],
    "id_hash": -525216084415262718,
    "content_hash": -2323799092491438638,
    "location": "",
    "context": "solr.field.locale.emptyValue.hint",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 97,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 36,
    "source_unit": "https://l10n.xwiki.org/api/units/121108/?format=api",
    "priority": 100,
    "id": 578091,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/main-solrtranslations/zh/?checksum=78b60ec1021b5002",
    "url": "https://l10n.xwiki.org/api/units/578091/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-03-13T03:11:02.718278Z"
}