Units API.

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

GET /api/units/27767/?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/articles_nanobsd/zh_CN/?format=api",
    "source": [
        "install_packages () (\nmkdir -p ${NANO_WORLDDIR}/packages\ncp /usr/src/tools/tools/nanobsd/packages/* ${NANO_WORLDDIR}/packages\ncp $(which pkg-static) ${NANO_WORLDDIR}/\nchroot ${NANO_WORLDDIR} sh -c 'cd packages; /pkg-static add *;cd ..;'\nrm -rf ${NANO_WORLDDIR}/packages ${NANO_WORLDDIR}/pkg-static\n)\ncustomize_cmd install_packages"
    ],
    "previous_source": "",
    "target": [
        "install_packages () (\nmkdir -p ${NANO_WORLDDIR}/packages\ncp /usr/src/tools/tools/nanobsd/packages/* ${NANO_WORLDDIR}/packages\ncp $(which pkg-static) ${NANO_WORLDDIR}/\nchroot ${NANO_WORLDDIR} sh -c 'cd packages; /pkg-static add *;cd ..;'\nrm -rf ${NANO_WORLDDIR}/packages ${NANO_WORLDDIR}/pkg-static\n)\ncustomize_cmd install_packages"
    ],
    "id_hash": 3114894836243627866,
    "content_hash": 3114894836243627866,
    "location": "article.translate.xml:349",
    "context": "",
    "note": "(itstool) path: sect3/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 67,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 30,
    "source_unit": "https://translate-dev.freebsd.org/api/units/100037/?format=api",
    "priority": 100,
    "id": 27767,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_nanobsd/zh_CN/?checksum=ab3a5459a2ffff5a",
    "url": "https://translate-dev.freebsd.org/api/units/27767/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:12:59.426806Z"
}