Units API.

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

GET /api/units/34244/?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_arch-handbook/zh_CN/?format=api",
    "source": [
        "<filename>/usr/include/sys/kernel.h:</filename>\nenum sysinit_sub_id {\n\tSI_SUB_DUMMY\t\t= 0x0000000,\t/* not executed; for linker*/\n\tSI_SUB_DONE\t\t= 0x0000001,\t/* processed*/\n\tSI_SUB_CONSOLE\t\t= 0x0800000,\t/* console*/\n\tSI_SUB_COPYRIGHT\t= 0x0800001,\t/* first use of console*/\n...\n\tSI_SUB_RUN_SCHEDULER\t= 0xfffffff\t/* scheduler: no return*/\n};"
    ],
    "previous_source": "",
    "target": [
        "<filename>/usr/include/sys/kernel.h:</filename>\nenum sysinit_sub_id {\n\tSI_SUB_DUMMY\t\t= 0x0000000,\t/* not executed; for linker*/\n\tSI_SUB_DONE\t\t= 0x0000001,\t/* processed*/\n\tSI_SUB_CONSOLE\t\t= 0x0800000,\t/* console*/\n\tSI_SUB_COPYRIGHT\t= 0x0800001,\t/* first use of console*/\n...\n\tSI_SUB_RUN_SCHEDULER\t= 0xfffffff\t/* scheduler: no return*/\n};"
    ],
    "id_hash": -3295153264316541005,
    "content_hash": -3295153264316541005,
    "location": "book.translate.xml:2577",
    "context": "",
    "note": "(itstool) path: sect2/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 293,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 39,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102435/?format=api",
    "priority": 100,
    "id": 34244,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=5245439087f197b3",
    "url": "https://translate-dev.freebsd.org/api/units/34244/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:45.185298Z"
}