Units API.

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

GET /api/units/106678713/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://hosted.weblate.org/api/translations/ouisync/security/ru/?format=api",
    "source": [
        "Every file and every directory stored in Ouisync is divided into relatively small (e.g. 32KB) blocks of a constant size. Each block has a Block ID (generated via a random number generator) that helps Ouisync identify these blocks. All blocks are stored alongside a file called “locator”. Locator is a kind of “map” that indicates where each block is located with respect to other blocks. However, to not reveal this structure to agents who don’t possess the secret key, locators are not stored directly but are encoded."
    ],
    "previous_source": "",
    "target": [
        "Каждый файл и каждый каталог, хранящиеся в Ouisync, разделены на относительно небольшие (например, 32 КБ) блоки постоянного размера. Каждый блок имеет идентификатор блока (\"Block ID\", генерируемый генератором случайных чисел), который помогает Ouisync идентифицировать эти блоки. Все блоки хранятся вместе с файлом под названием “locator”. Локатор - это своего рода “карта”, которая указывает, где расположен каждый блок относительно других блоков. Однако, чтобы не раскрывать эту структуру агентам, не обладающим секретным ключом, локаторы не хранятся обычным текстом, а закодированы."
    ],
    "id_hash": 6404795148666022017,
    "content_hash": 6404795148666022017,
    "location": "+p",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 30,
    "fuzzy": false,
    "translated": true,
    "approved": true,
    "position": 10,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 87,
    "source_unit": "https://hosted.weblate.org/api/units/103215422/?format=api",
    "priority": 100,
    "id": 106678713,
    "web_url": "https://hosted.weblate.org/translate/ouisync/security/ru/?checksum=d8e26740ef622881",
    "url": "https://hosted.weblate.org/api/units/106678713/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-10-12T01:01:15.472344+02:00"
}