Units API.

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

GET /api/units/331165/?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/xwiki-documenttreetranslations/ru/?format=api",
    "source": [
        "Show only the wiki, space and page nodes for which the current user has view right. If this is set to false then the wiki, space and page nodes that are not viewable by the current user are listed in the tree using their names. The user won't be able to see their content by following their links though (the user will just be aware of their existence)."
    ],
    "previous_source": "",
    "target": [
        "Показывать только узлы вики, пространства и страницы, для которых текущий пользователь имеет право просмотра. Если для этого параметра установлено значение false, то узлы вики, пространства и страницы, которые не видны текущему пользователю, перечислены в дереве с использованием их имен. Пользователь не сможет видеть их содержимое, перейдя по их ссылкам (пользователь просто будет знать об их существовании)."
    ],
    "id_hash": 2424879323348580908,
    "content_hash": -1591702022531249697,
    "location": "",
    "context": "rendering.macro.documentTree.parameter.showOnlyViewable.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 34,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 68,
    "source_unit": "https://l10n.xwiki.org/api/units/126758/?format=api",
    "priority": 100,
    "id": 331165,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-documenttreetranslations/ru/?checksum=a1a6e6e5a361ba2c",
    "url": "https://l10n.xwiki.org/api/units/331165/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T21:46:29.519000Z"
}