Units API.

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

GET /api/units/1776244/?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-handbookquick-porting_index/ru/?format=api",
    "source": [
        "There is only one case when [.filename]#pkg-plist# can be omitted from a port.  If the port installs just a handful of files, list them in `PLIST_FILES`, within the port's [.filename]#Makefile#.  For instance, we could get along without [.filename]#pkg-plist# in the above [.filename]#oneko# port by adding these lines to the [.filename]#Makefile#:"
    ],
    "previous_source": "",
    "target": [
        "Существует только одно исключение, когда у порта может отсутствовать [.filename]#pkg-plist#. Если порт устанавливает лишь несколько файлов, а возможно, и каталогов, то они могут быть перечислены в переменных `PLIST_FILES` и `PLIST_DIRS`, соответственно, внутри файла [.filename]#Makefile# порта. К примеру, мы можем обойтись без файла [.filename]#pkg-plist# у приведённого выше порта [.filename]#oneko#, добавив следующие строки в [.filename]#Makefile#:"
    ],
    "id_hash": 8214034225430884673,
    "content_hash": 8214034225430884673,
    "location": "documentation/content/en/books/porters-handbook/quick-porting/_index.adoc:166",
    "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": 50,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1239790/?format=api",
    "priority": 100,
    "id": 1776244,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookquick-porting_index/ru/?checksum=f1fe1c9bb3b57141",
    "url": "https://translate-dev.freebsd.org/api/units/1776244/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T07:56:13.081072Z"
}