Units API.

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

GET /api/units/105810/?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_developers-handbook/en/?format=api",
    "source": [
        "#include <stdio.h>\n\nint main() {\n\tfloat f;\n\n\tf = pow(2.1, 6);\n\tprintf(\"2.1 ^ 6 = %f\\n\", f);\n\treturn 0;\n}"
    ],
    "previous_source": "",
    "target": [
        "#include <stdio.h>\n\nint main() {\n\tfloat f;\n\n\tf = pow(2.1, 6);\n\tprintf(\"2.1 ^ 6 = %f\\n\", f);\n\treturn 0;\n}"
    ],
    "id_hash": -8850577662673039061,
    "content_hash": -8850577662673039061,
    "location": "book.translate.xml:1059",
    "context": "",
    "note": "(itstool) path: informalexample/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 196,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 20,
    "source_unit": "https://translate-dev.freebsd.org/api/units/105810/?format=api",
    "priority": 100,
    "id": 105810,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/en/?checksum=052c6e82175dd12b",
    "url": "https://translate-dev.freebsd.org/api/units/105810/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:23:56.196329Z"
}