Units API.

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

GET /api/units/1127638/?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/en/?format=api",
    "source": [
        "/usr/src/usr.sbin/jail/jail.c\nchar path[PATH_MAX];\n...\nif (realpath(argv[0], path) == NULL)\n    err(1, \"realpath: %s\", argv[0]);\nif (chdir(path) != 0)\n    err(1, \"chdir: %s\", path);\nmemset(&j, 0, sizeof(j));\nj.version = 0;\nj.path = path;\nj.hostname = argv[1];\n"
    ],
    "previous_source": "",
    "target": [
        "/usr/src/usr.sbin/jail/jail.c\nchar path[PATH_MAX];\n...\nif (realpath(argv[0], path) == NULL)\n    err(1, \"realpath: %s\", argv[0]);\nif (chdir(path) != 0)\n    err(1, \"chdir: %s\", path);\nmemset(&j, 0, sizeof(j));\nj.version = 0;\nj.path = path;\nj.hostname = argv[1];\n"
    ],
    "id_hash": 2225248786196371510,
    "content_hash": 2225248786196371510,
    "location": "documentation/content/en/books/arch-handbook/jail/_index.adoc:96",
    "context": "",
    "note": "type: delimited block . 4",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 15,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 33,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1127638/?format=api",
    "priority": 100,
    "id": 1127638,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookjail_index/en/?checksum=9ee1abfb2e1a9836",
    "url": "https://translate-dev.freebsd.org/api/units/1127638/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T13:14:03.514652Z"
}