Units API.

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

GET /api/units/1812448/?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-handbookplist_index/ru/?format=api",
    "source": [
        "While the use of dynamic package lists is not forbidden, maintainers should use static package lists wherever possible, as it enables users to man:grep[1] through available ports to discover, for example, which port installs a certain file.  Dynamic lists should be primarily used for complex ports where the package list changes drastically based upon optional features of the port (and thus maintaining a static package list is infeasible), or ports which change the package list based upon the version of dependent software used.  For example, ports which generate docs with Javadoc."
    ],
    "previous_source": "",
    "target": [
        "Хотя использование динамических списков упаковки не запрещено, сопровождающие должны использовать статические списки упаковки везде, где это возможно, поскольку это позволяет пользователям выполнять man:grep[1] по доступным портам для обнаружения, например, какой порт устанавливает определённый файл. Динамические списки должны быть использованы в основном для сложных портов, для которых изменения в списке упаковки кардинальным образом основаны на возможностях порта, настраиваемых параметрами, (и, таким образом, делая сопровождение статических списков упаковки невозможным), или портов, которые изменяют список упаковки на основе версии используемого им программного обеспечения (например, порты, которые порождают документы при помощи Javadoc)."
    ],
    "id_hash": -9187284554542602675,
    "content_hash": -9187284554542602675,
    "location": "documentation/content/en/books/porters-handbook/plist/_index.adoc:212",
    "context": "",
    "note": "type: delimited block = 4",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 42,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 91,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1242896/?format=api",
    "priority": 100,
    "id": 1812448,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookplist_index/ru/?checksum=0080355fbc0e264d",
    "url": "https://translate-dev.freebsd.org/api/units/1812448/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:27:39.100948Z"
}