Units API.

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

GET /api/units/34221/?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>\n      #define C_SYSINIT(uniquifier, subsystem, order, func, ident) \\\n      static struct sysinit uniquifier ## _sys_init = { \\ subsystem, \\\n      order, \\ func, \\ ident \\ }; \\ DATA_SET(sysinit_set,uniquifier ##\n      _sys_init);\n\n#define\tSYSINIT(uniquifier, subsystem, order, func, ident)\t\\\n\tC_SYSINIT(uniquifier, subsystem, order,\t\t\t\\\n\t(sysinit_cfunc_t)(sysinit_nfunc_t)func, (void *)ident)"
    ],
    "previous_source": "",
    "target": [
        "<filename>/usr/include/sys/kernel.h:</filename>\n      #define C_SYSINIT(uniquifier, subsystem, order, func, ident) \\\n      static struct sysinit uniquifier ## _sys_init = { \\ subsystem, \\\n      order, \\ func, \\ ident \\ }; \\ DATA_SET(sysinit_set,uniquifier ##\n      _sys_init);\n\n#define\tSYSINIT(uniquifier, subsystem, order, func, ident)\t\\\n\tC_SYSINIT(uniquifier, subsystem, order,\t\t\t\\\n\t(sysinit_cfunc_t)(sysinit_nfunc_t)func, (void *)ident)"
    ],
    "id_hash": 7985575502398292238,
    "content_hash": 7985575502398292238,
    "location": "book.translate.xml:2474",
    "context": "",
    "note": "(itstool) path: sect2/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 278,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 44,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102420/?format=api",
    "priority": 100,
    "id": 34221,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=eed2769c2b83010e",
    "url": "https://translate-dev.freebsd.org/api/units/34221/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:44.993945Z"
}