Units API.

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

GET /api/units/615427/?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/en/?format=api",
    "source": [
        "FreeBSD's memory allocation code implements page coloring optimizations, which means that the memory allocation code will attempt to locate free pages that are contiguous from the point of view of the cache.  For example, if page 16 of physical memory is assigned to page 0 of a process's virtual memory and the cache can hold 4 pages, the page coloring code will not assign page 20 of physical memory to page 1 of a process's virtual memory.  It would, instead, assign page 21 of physical memory.  The page coloring code attempts to avoid assigning page 20 because this maps over the same cache memory as page 16 and would result in non-optimal caching.  This code adds a significant amount of complexity to the VM memory allocation subsystem as you can well imagine, but the result is well worth the effort.  Page Coloring makes VM memory as deterministic as physical memory in regards to cache performance."
    ],
    "previous_source": "",
    "target": [
        "FreeBSD's memory allocation code implements page coloring optimizations, which means that the memory allocation code will attempt to locate free pages that are contiguous from the point of view of the cache.  For example, if page 16 of physical memory is assigned to page 0 of a process's virtual memory and the cache can hold 4 pages, the page coloring code will not assign page 20 of physical memory to page 1 of a process's virtual memory.  It would, instead, assign page 21 of physical memory.  The page coloring code attempts to avoid assigning page 20 because this maps over the same cache memory as page 16 and would result in non-optimal caching.  This code adds a significant amount of complexity to the VM memory allocation subsystem as you can well imagine, but the result is well worth the effort.  Page Coloring makes VM memory as deterministic as physical memory in regards to cache performance."
    ],
    "id_hash": -4289767702818845546,
    "content_hash": -4289767702818845546,
    "location": "documentation/content/en/articles/vm-design/_index.adoc:304",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 62,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 155,
    "source_unit": "https://translate-dev.freebsd.org/api/units/615427/?format=api",
    "priority": 100,
    "id": 615427,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/en/?checksum=4477af00a08a0c96",
    "url": "https://translate-dev.freebsd.org/api/units/615427/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-03-20T20:43:35.859166Z"
}