Units API.

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

GET /api/units/189890/?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/freebsd-doc/boooks_developers-handbook/fa/?format=api",
    "source": [
        "The new solution I use now is to call <function>write</function> every time I find the input buffer empty. That way, when running in the interactive mode, the program reads one line from the user's keyboard, processes it, and sees its input buffer is empty. It flushes its output and reads the next line."
    ],
    "previous_source": "",
    "target": [
        "راه حل جدیدی که اکنون استفاده می‌کنم چنین است که هر زمان که میان‌گیر ورودی خالی است، <function>write</function> را فراخوانی می‌کنم. با این کار، هنگام اجرا در حالت تعاملی، برنامه یک سطر از صفحه کلید کاربر می‌خواند، آن را پردازش می‌کند، و می‌بیند که میان‌گیر ورودی‌اش خالی است. خروجی‌اش را پاک می‌کند و سطر بعدی را می‌خواند."
    ],
    "id_hash": -5056247649371366336,
    "content_hash": -5056247649371366336,
    "location": "book.translate.xml:12519",
    "context": "",
    "note": "(itstool) path: sect2/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1937,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 53,
    "source_unit": "https://translate-dev.freebsd.org/api/units/107476/?format=api",
    "priority": 100,
    "id": 189890,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/fa/?checksum=39d4998d52d0dc40",
    "url": "https://translate-dev.freebsd.org/api/units/189890/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-07-06T12:25:43.349860Z"
}