Units API.

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

GET /api/units/104732/?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/en/?format=api",
    "source": [
        "          static void *\n          xxxchannel_init(kobj_t obj, void *data,\n             struct snd_dbuf *b, struct pcm_channel *c, int dir)<co xml:id=\"co-chinit-params\"/>\n          {\n              struct xxx_info *sc = data;\n              struct xxx_chinfo *ch;\n               ...\n              return ch;<co xml:id=\"co-chinit-return\"/>\n           }"
    ],
    "previous_source": "",
    "target": [
        "          static void *\n          xxxchannel_init(kobj_t obj, void *data,\n             struct snd_dbuf *b, struct pcm_channel *c, int dir)<co xml:id=\"co-chinit-params\"/>\n          {\n              struct xxx_info *sc = data;\n              struct xxx_chinfo *ch;\n               ...\n              return ch;<co xml:id=\"co-chinit-return\"/>\n           }"
    ],
    "id_hash": -2292294492663591861,
    "content_hash": -2292294492663591861,
    "location": "book.translate.xml:23128",
    "context": "",
    "note": "(itstool) path: sect3/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2602,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 30,
    "source_unit": "https://translate-dev.freebsd.org/api/units/104732/?format=api",
    "priority": 100,
    "id": 104732,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/en/?checksum=6030224dd433cc4b",
    "url": "https://translate-dev.freebsd.org/api/units/104732/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:22:16.204530Z"
}