Units API.

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

GET /api/units/1812427/?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": [
        "When being de-installed, a port has to remove empty directories it created.  Most of these directories are removed automatically by man:pkg[8], but for directories created outside of [.filename]#${PREFIX}#, or empty directories, some more work needs to be done.  This is usually accomplished by adding `@dir` lines for those directories.  Subdirectories must be deleted before deleting parent directories."
    ],
    "previous_source": "",
    "target": [
        "При удалении порт должен удалить пустые каталоги, которые он создал. Большинство этих каталогов автоматически удаляются с помощью man:pkg[8], но для каталогов, созданных вне [.filename]#${PREFIX}#, или пустых каталогов требуется дополнительная работа. Обычно это делается добавлением строк `@dir` для таких каталогов. Подкаталоги должны быть удалены до удаления родительских каталогов."
    ],
    "id_hash": 321838109726163344,
    "content_hash": 321838109726163344,
    "location": "documentation/content/en/books/porters-handbook/plist/_index.adoc:127",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 21,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 57,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1242878/?format=api",
    "priority": 100,
    "id": 1812427,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookplist_index/ru/?checksum=8477660e3d694190",
    "url": "https://translate-dev.freebsd.org/api/units/1812427/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:27:39.086882Z"
}