Units API.

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

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

{
    "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/ru/?format=api",
    "source": [
        "Under 4.X we do not use a sequential list.  Instead we use a radix tree and bitmaps of swap blocks rather than ranged list nodes.  We take the hit of preallocating all the bitmaps required for the entire swap area up front but it winds up wasting less memory due to the use of a bitmap (one bit per block) instead of a linked list of nodes.  The use of a radix tree instead of a sequential list gives us nearly O(1) performance no matter how fragmented the tree becomes."
    ],
    "previous_source": "",
    "target": [
        "В 4.X мы не используем последовательный список. Вместо этого мы используем базисное дерево и битовые карты блоков области подкачки, а не ограниченный список узлов. Мы принимаем предварительное выделение всех битовых карт, требуемых для всей области подкачки, но при этом тратится меньше памяти, потому что мы используем битовые карты (один бит на блок), а не связанный список узлов. Использование базисного дерева вместо последовательного списка дает нам производительность O(1) вне зависимости от фрагментации дерева."
    ],
    "id_hash": 4155145828883344859,
    "content_hash": 4155145828883344859,
    "location": "documentation/content/en/articles/vm-design/_index.adoc:330",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 70,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 90,
    "source_unit": "https://translate-dev.freebsd.org/api/units/615437/?format=api",
    "priority": 100,
    "id": 1811531,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/ru/?checksum=b9aa0b1dd089addb",
    "url": "https://translate-dev.freebsd.org/api/units/1811531/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:24:32.491412Z"
}