Units API.

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

GET /api/units/1776169/?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/booksporters-handbooktesting_index/ru/?format=api",
    "source": [
        "To use sets, poudriere expects an existing directory structure similar to `PORT_DBDIR`, defaults to [.filename]#/var/db/ports# in its configuration directory.  This directory is then man:nullfs[5]-mounted into the jails where the ports and their dependencies are built.  Usually a suitable starting point can be obtained by recursively copying the existing `PORT_DBDIR` to [.filename]#/usr/local/etc/poudriere.d/jailname-portname-setname-options#.  This is described in detail in man:poudriere[8].  For instance, testing package:www/firefox[] in a specific set named `devset`, add the `-z devset` parameter to the `testport` command:"
    ],
    "previous_source": "",
    "target": [
        "Для использования наборов poudriere ожидает, что будет использована структура каталогов, аналогичная `PORT_DBDIR`, по умолчанию [.filename]#/var/db/ports#, в его конфигурационном каталоге. Этот каталог затем монтируется с помощью man:nullfs[5] в клетки, где собираются порты и их зависимости. Обычно подходящую начальную точку можно получить, рекурсивно скопировав существующий `PORT_DBDIR` в [.filename]#/usr/local/etc/poudriere.d/jailname-portname-setname-options#. Это подробно описано в man:poudriere[8]. Например, для тестирования package:www/firefox[] в определённом наборе с именем `devset`, добавьте параметр `-z devset` к команде `testport`:"
    ],
    "id_hash": -8041363805647137467,
    "content_hash": -8041363805647137467,
    "location": "documentation/content/en/books/porters-handbook/testing/_index.adoc:531",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 132,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 77,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1565752/?format=api",
    "priority": 100,
    "id": 1776169,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbooktesting_index/ru/?checksum=1067563946b81545",
    "url": "https://translate-dev.freebsd.org/api/units/1776169/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T07:56:01.089277Z"
}