Units API.

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

GET /api/units/1811656/?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": [
        "Finally, atomic instructions only allow one item to be updated or read. If one needs to atomically update several items, then a lock must be used instead. For example, if two counters must be read and have values that are consistent relative to each other, then those counters must be protected by a lock rather than by separate atomic instructions."
    ],
    "previous_source": "",
    "target": [
        "Наконец, атомарные инструкции позволяют обновить или прочитать только один элемент. Если необходимо атомарно обновить несколько элементов, вместо этого следует использовать блокировку. Например, если требуется прочитать два счётчика и получить их значения, согласованные друг с другом, то эти счётчики должны быть защищены блокировкой, а не отдельными атомарными инструкциями."
    ],
    "id_hash": -479607699138398771,
    "content_hash": -479607699138398771,
    "location": "documentation/content/en/books/arch-handbook/smp/_index.adoc:76",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 12,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 60,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1134184/?format=api",
    "priority": 100,
    "id": 1811656,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksmp_index/ru/?checksum=79581756b55035cd",
    "url": "https://translate-dev.freebsd.org/api/units/1811656/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:25:10.197667Z"
}