Units API.

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

GET /api/units/337393/?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/annotationcode-translations/zh/?format=api",
    "source": [
        "The following two settings allow you to configure which locations annotations are active in. The first setting specifies the general rule, while the second list specifies the locations for which the rule shouldn't apply. For example, activated \"yes\" and exception locations \"XWiki\" and \"Main\" means that annotations will be active on all locations except for \"XWiki\" and \"Main\". As an opposite example, using activated \"no\" and exception locations \"Documents\" means that annotations will be active only for the \"Documents\" location."
    ],
    "previous_source": "",
    "target": [
        "以下两个设置允许您配置哪些位置的注释是活动的。第一个设置指定了一般规则,而第二个列表指定了该规则不应适用的位置。例如,激活为 \"yes \"例外位置为 \"XWiki \"和 \"Main \"意味着除了 \"XWiki \"和 \"Main \"之外,注释将在所有位置上激活。作为一个相反的例子,使用激活为 \"no \"和例外位置 \"Documents \"意味着注释将只对 \"Documents \"位置激活。"
    ],
    "id_hash": 8523959488328994733,
    "content_hash": 1572834540071178249,
    "location": "",
    "context": "annotations.config.activate.explanation",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 55,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 80,
    "source_unit": "https://l10n.xwiki.org/api/units/130765/?format=api",
    "priority": 100,
    "id": 337393,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/annotationcode-translations/zh/?checksum=f64b2ffe25ab8fad",
    "url": "https://l10n.xwiki.org/api/units/337393/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T21:54:54.367000Z"
}