Units API.

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

GET /api/units/36828/?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": [
        "          static int\n          xxxchannel_setblocksize(kobj_t obj, void *data, u_int32_t blocksize)\n          {\n              struct xxx_chinfo *ch = data;\n                ...\n              return blocksize;<co xml:id=\"co-chsetblocksize-return\"/>\n           }"
    ],
    "previous_source": "",
    "target": [
        "          static int\n          xxxchannel_setblocksize(kobj_t obj, void *data, u_int32_t blocksize)\n          {\n              struct xxx_chinfo *ch = data;\n                ...\n              return blocksize;<co xml:id=\"co-chsetblocksize-return\"/>\n           }"
    ],
    "id_hash": -4356396836410568449,
    "content_hash": -4356396836410568449,
    "location": "book.translate.xml:23224",
    "context": "",
    "note": "(itstool) path: sect3/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2617,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 19,
    "source_unit": "https://translate-dev.freebsd.org/api/units/104747/?format=api",
    "priority": 100,
    "id": 36828,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=438af828911cd0ff",
    "url": "https://translate-dev.freebsd.org/api/units/36828/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:22:16.409478Z"
}