Units API.

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

GET /api/units/106678659/?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/fa/?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 به بلوک‌های نسبتاً کوچک (به عنوان مثال ۳۲ کیلوبایت) با اندازه ثابت تقسیم می‌شود. هر بلوک دارای یک شناسه بلوک (تولید شده از طریق یک مولد تصادفی اعداد) است که به 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": 106678659,
    "web_url": "https://hosted.weblate.org/translate/ouisync/security/fa/?checksum=d8e26740ef622881",
    "url": "https://hosted.weblate.org/api/units/106678659/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-10-12T01:01:14.656646+02:00"
}