Units API.

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

GET /api/units/1776068/?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": [
        "`DESTDIR`, if set by the user, determines the complete alternative environment, usually a jail or an installed system mounted somewhere other than [.filename]#/#.  A port will actually install into [.filename]#DESTDIR/PREFIX#, and register with the package database in [.filename]#DESTDIR/var/db/pkg#.  `DESTDIR` is handled automatically by the ports infrastructure with man:chroot[8].  There is no need for modifications or any extra care to write `DESTDIR`-compliant ports."
    ],
    "previous_source": "",
    "target": [
        "Если пользователь установил переменную `DESTDIR`, то она определяет полное альтернативное окружение, обычно, это jail или установленная система, смонтированная в месте, отличном от [.filename]#/#. На самом деле порт устанавливается в [.filename]#DESTDIR/PREFIX# и регистрируется в базе данных пакетов в [.filename]#DESTDIR/var/db/pkg#. Поскольку управление `DESTDIR` производится автоматически инфраструктурой портов с помощью man:chroot[8], вам не нужны никакие изменения или проявление особой осторожности при написании портов, совместимых с `DESTDIR`."
    ],
    "id_hash": -6259982512246499720,
    "content_hash": -6259982512246499720,
    "location": "documentation/content/en/books/porters-handbook/testing/_index.adoc:145",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 31,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 62,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1243538/?format=api",
    "priority": 100,
    "id": 1776068,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbooktesting_index/ru/?checksum=292013126963d678",
    "url": "https://translate-dev.freebsd.org/api/units/1776068/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T07:56:01.035513Z"
}