Units API.

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

GET /api/units/1811475/?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": [
        "You will notice immediately that what was originally a simple file mapping has become much more complex.  Data may be modified on a page-by-page basis whereas the file mapping encompasses many pages at once.  The complexity further increases when a process forks.  When a process forks, the result is two processes-each with their own private address spaces, including any modifications made by the original process prior to the call to `fork()`.  It would be silly for the VM system to make a complete copy of the data at the time of the `fork()` because it is quite possible that at least one of the two processes will only need to read from that page from then on, allowing the original page to continue to be used.  What was a private page is made copy-on-write again, since each process (parent and child) expects their own personal post-fork modifications to remain private to themselves and not affect the other."
    ],
    "previous_source": "",
    "target": [
        "Вы тут же заметите, что то, что сначала было простым отображением файла в память, становится гораздо более сложным предметом. Данные могут модифицироваться постранично, когда как отображение файла выполняется для многих страниц за раз. Сложность ещё более увеличивается, когда процесс выполняет вызов fork. При этом порождаются два процесса-каждый со с собственным адресным пространством, включающим все изменения, выполненные исходным процессом до вызова функции `fork()`. Было бы глупо для VM-системы делать полную копию данных во время вызова `fork()`, так как весьма вероятно, что один из двух процессов будет нужен только для чтения из той страницы, что позволяет использование исходной страницы. То, что было страницей, принадлежащей только процессу, сделается снова страницей, копируемой при записи, так как каждый из процессов (и родитель, и потомок) полагают, что их собственные изменения после разветвления будут принадлежать только им, и не затронут родственный процесс."
    ],
    "id_hash": -8494902235450807947,
    "content_hash": -8494902235450807947,
    "location": "documentation/content/en/articles/vm-design/_index.adoc:118",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 17,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 157,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1443560/?format=api",
    "priority": 100,
    "id": 1811475,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/ru/?checksum=0a1c0b6cbe486975",
    "url": "https://translate-dev.freebsd.org/api/units/1811475/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:24:32.458786Z"
}