Units API.

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

GET /api/units/1811658/?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/booksarch-handbooksmp_index/ru/?format=api",
    "source": [
        "Read locks do not need to be as strong as write locks. Both types of locks need to ensure that the data they are accessing is not stale. However, only write access requires exclusive access. Multiple threads can safely read a value. Using different types of locks for reads and writes can be implemented in a number of ways."
    ],
    "previous_source": "",
    "target": [
        "Блокировки на чтение не требуют такой же строгости, как блокировки на запись. Оба типа блокировок должны гарантировать, что данные, к которым они обращаются, не устарели. Однако запись требует монопольного доступа. Несколько потоков могут безопасно читать значение. Использование разных типов блокировок для чтения и записи может быть реализовано несколькими способами."
    ],
    "id_hash": 6719598516729517991,
    "content_hash": 6719598516729517991,
    "location": "documentation/content/en/books/arch-handbook/smp/_index.adoc:80",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 14,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 59,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1134188/?format=api",
    "priority": 100,
    "id": 1811658,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksmp_index/ru/?checksum=dd40cf3fbee797a7",
    "url": "https://translate-dev.freebsd.org/api/units/1811658/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:25:10.198834Z"
}