Units API.

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

GET /api/units/1127844/?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/documentation/booksarch-handbookjail_index/fa/?format=api",
    "source": [
        "/usr/src/sys/kern/kern_jail.c\nint\njail(struct thread *td, struct jail_args *uap)\n{\n...\n    struct jail_attach_args jaa;\n...\n    error = jail_attach(td, &jaa);\n    if (error)\n        goto e_dropprref;\n...\n}\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 5998018216358103867,
    "content_hash": 5998018216358103867,
    "location": "documentation/content/en/books/arch-handbook/jail/_index.adoc:295",
    "context": "",
    "note": "type: delimited block . 4",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 51,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 24,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1127710/?format=api",
    "priority": 100,
    "id": 1127844,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookjail_index/fa/?checksum=d33d3dc9f658cb3b",
    "url": "https://translate-dev.freebsd.org/api/units/1127844/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T13:14:11.385410Z"
}