Units API.

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

GET /api/units/132073/?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_porters-handbook/en/?format=api",
    "source": [
        "PORTNAME=\tbind\nPORTVERSION=\t${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} <co xml:id=\"distversion-ex1-portversion\"/>\nCATEGORIES=\tdns net\nMASTER_SITES=\tISC/bind9/${ISCVERSION} <co xml:id=\"distversion-ex1-master_sites\"/>\nPKGNAMESUFFIX=\t99\nDISTNAME=\t${PORTNAME}-${ISCVERSION} <co xml:id=\"distversion-ex1-distname\"/>\n\nMAINTAINER=\tmat@FreeBSD.org\nCOMMENT=\tBIND DNS suite with updated DNSSEC and DNS64\n\nLICENSE=\tISCL\n\n# ISC releases things like 9.8.0-P1 or 9.8.1rc1, which our versioning does not like\nISCVERSION=\t9.9.9-P6 <co xml:id=\"distversion-ex1-iscversion\"/>"
    ],
    "previous_source": "",
    "target": [
        "PORTNAME=\tbind\nPORTVERSION=\t${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} <co xml:id=\"distversion-ex1-portversion\"/>\nCATEGORIES=\tdns net\nMASTER_SITES=\tISC/bind9/${ISCVERSION} <co xml:id=\"distversion-ex1-master_sites\"/>\nPKGNAMESUFFIX=\t99\nDISTNAME=\t${PORTNAME}-${ISCVERSION} <co xml:id=\"distversion-ex1-distname\"/>\n\nMAINTAINER=\tmat@FreeBSD.org\nCOMMENT=\tBIND DNS suite with updated DNSSEC and DNS64\n\nLICENSE=\tISCL\n\n# ISC releases things like 9.8.0-P1 or 9.8.1rc1, which our versioning does not like\nISCVERSION=\t9.9.9-P6 <co xml:id=\"distversion-ex1-iscversion\"/>"
    ],
    "id_hash": 7840247756971644430,
    "content_hash": 7840247756971644430,
    "location": "book.translate.xml:3206",
    "context": "",
    "note": "(itstool) path: example/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 648,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 50,
    "source_unit": "https://translate-dev.freebsd.org/api/units/132073/?format=api",
    "priority": 100,
    "id": 132073,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_porters-handbook/en/?checksum=ecce27cba959160e",
    "url": "https://translate-dev.freebsd.org/api/units/132073/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-02-15T19:01:06.025915Z"
}