Units API.

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

GET /api/units/331085/?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/macros-treetranslations/ru/?format=api",
    "source": [
        "The reference to the resource that describes the tree structure and its context menu, and which is called to perform the actions on the tree nodes. This resource is used to load the tree dynamically (on demand) when a tree node is opened, and to ask for the context menu when the user right-clicks on a tree node that has it. So the resource is not static. For static trees you should use the macro content instead. The reference can be a document reference or an URL/path."
    ],
    "previous_source": "",
    "target": [
        "Ссылка на ресурс, который описывает древовидную структуру и ее контекстное меню и который вызывается для выполнения действий над узлами дерева. Этот ресурс используется для динамической загрузки дерева (по требованию), когда открывается узел дерева, и для запроса контекстного меню, когда пользователь щелкает правой кнопкой мыши узел дерева, в котором оно есть. Так что ресурс не статичен. Для статических деревьев вы должны вместо этого использовать макрос содержимого. Ссылка может быть ссылкой на документ или URL / путь."
    ],
    "id_hash": -5668599928047357970,
    "content_hash": -4556368343029079019,
    "location": "",
    "context": "rendering.macro.tree.parameter.reference.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 4,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 87,
    "source_unit": "https://l10n.xwiki.org/api/units/127016/?format=api",
    "priority": 100,
    "id": 331085,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/macros-treetranslations/ru/?checksum=3155166622eeafee",
    "url": "https://l10n.xwiki.org/api/units/331085/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T21:47:15.124000Z"
}