Units API.

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

GET /api/units/102533/?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": [
        "void kobj_class_compile(kobj_class_t cls);\nvoid kobj_class_compile_static(kobj_class_t cls, kobj_ops_t ops);\nvoid kobj_class_free(kobj_class_t cls);\nkobj_t kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags);\nvoid kobj_init(kobj_t obj, kobj_class_t cls);\nvoid kobj_delete(kobj_t obj, struct malloc_type *mtype);"
    ],
    "previous_source": "",
    "target": [
        "void kobj_class_compile(kobj_class_t cls);\nvoid kobj_class_compile_static(kobj_class_t cls, kobj_ops_t ops);\nvoid kobj_class_free(kobj_class_t cls);\nkobj_t kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags);\nvoid kobj_init(kobj_t obj, kobj_class_t cls);\nvoid kobj_delete(kobj_t obj, struct malloc_type *mtype);"
    ],
    "id_hash": -2220314099050950100,
    "content_hash": -2220314099050950100,
    "location": "book.translate.xml:3087",
    "context": "",
    "note": "(itstool) path: sect2/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 391,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 30,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102533/?format=api",
    "priority": 100,
    "id": 102533,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/en/?checksum=612fdc173446d22c",
    "url": "https://translate-dev.freebsd.org/api/units/102533/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:46.417552Z"
}