Units API.

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

GET /api/units/1811974/?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-handbookslow-porting_index/ru/?format=api",
    "source": [
        "For example, if there is a `post-extract` target defined in the [.filename]#Makefile#, and a file [.filename]#pre-build# in the [.filename]#scripts# subdirectory, the `post-extract` target will be called after the regular extraction actions, and [.filename]#pre-build# will be executed before the default build rules are done.  It is recommended to use [.filename]#Makefile# targets if the actions are simple enough, because it will be easier for someone to figure out what kind of non-default action the port requires."
    ],
    "previous_source": "",
    "target": [
        "Например, если у вас есть цель `post-extract`, определённая в вашем файле [.filename]#Makefile# и файл [.filename]#pre-build# в подкаталоге [.filename]#scripts#, то после выполнения обычных действий по распаковке, будет вызвана цель `post-extract` а скрипт [.filename]#pre-build# будет выполнен перед запуском стандартных правил построения. Рекомендуется использовать цели из [.filename]#Makefile#, если действия достаточно просты, потому что в дальнейшем будет проще определить, какие нестандартные действия требует порт."
    ],
    "id_hash": -6838723937677253962,
    "content_hash": -6838723937677253962,
    "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:82",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 19,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 74,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1238308/?format=api",
    "priority": 100,
    "id": 1811974,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=2117f8cfd1c962b6",
    "url": "https://translate-dev.freebsd.org/api/units/1811974/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:25:47.646500Z"
}