Units API.

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

GET /api/units/1129944/?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-handbookpci_index/it_IT/?format=api",
    "source": [
        "    sc->bar1id = PCIR_BAR(1);\n    sc->bar1res = bus_alloc_resource(dev, SYS_RES_MEMORY, &sc->bar1id,\n\t\t\t\t  0, ~0, 1, RF_ACTIVE);\n    if (sc->bar1res == NULL) {\n        printf(\"Memory allocation of PCI base register 1 failed!\\n\");\n        error =  ENXIO;\n        goto fail2;\n    }\n    sc->bar0_bt = rman_get_bustag(sc->bar0res);\n    sc->bar0_bh = rman_get_bushandle(sc->bar0res);\n    sc->bar1_bt = rman_get_bustag(sc->bar1res);\n    sc->bar1_bh = rman_get_bushandle(sc->bar1res);\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 5133509776506667431,
    "content_hash": 5133509776506667431,
    "location": "documentation/content/en/books/arch-handbook/pci/_index.adoc:322",
    "context": "",
    "note": "type: delimited block . 4",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 61,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 43,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1129746/?format=api",
    "priority": 100,
    "id": 1129944,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookpci_index/it_IT/?checksum=c73de3f177acc1a7",
    "url": "https://translate-dev.freebsd.org/api/units/1129944/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T13:15:18.496412Z"
}