Units API.

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

GET /api/units/34216/?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>sys/kern/init_main.c:</filename>\nstatic void\nprint_caddr_t(void *data __unused)\n{\n\tprintf(\"%s\", (char *)data);\n}\nSYSINIT(announce, SI_SUB_COPYRIGHT, SI_ORDER_FIRST, print_caddr_t, copyright)"
    ],
    "previous_source": "",
    "target": [
        "<filename>sys/kern/init_main.c:</filename>\nstatic void\nprint_caddr_t(void *data __unused)\n{\n\tprintf(\"%s\", (char *)data);\n}\nSYSINIT(announce, SI_SUB_COPYRIGHT, SI_ORDER_FIRST, print_caddr_t, copyright)"
    ],
    "id_hash": 7004483192504627371,
    "content_hash": 7004483192504627371,
    "location": "book.translate.xml:2454",
    "context": "",
    "note": "(itstool) path: sect2/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 275,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 16,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102417/?format=api",
    "priority": 100,
    "id": 34216,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=e134ec5a2c6eb0ab",
    "url": "https://translate-dev.freebsd.org/api/units/34216/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:44.962037Z"
}