Units API.

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

GET /api/units/1129688/?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/en/?format=api",
    "source": [
        "\t/*\n\t * Create a /dev entry for this device.  The kernel will assign us\n\t * a major number automatically.  We use the unit number of this\n\t * device as the minor number and name the character device\n\t * \"mypci<unit>\".\n\t */\n\tsc->my_cdev = make_dev(&mypci_cdevsw, device_get_unit(dev),\n\t    UID_ROOT, GID_WHEEL, 0600, \"mypci%u\", device_get_unit(dev));\n\tsc->my_cdev->si_drv1 = sc;\n\tprintf(\"Mypci device loaded.\\n\");\n\treturn (0);\n}\n"
    ],
    "previous_source": "",
    "target": [
        "\t/*\n\t * Create a /dev entry for this device.  The kernel will assign us\n\t * a major number automatically.  We use the unit number of this\n\t * device as the minor number and name the character device\n\t * \"mypci<unit>\".\n\t */\n\tsc->my_cdev = make_dev(&mypci_cdevsw, device_get_unit(dev),\n\t    UID_ROOT, GID_WHEEL, 0600, \"mypci%u\", device_get_unit(dev));\n\tsc->my_cdev->si_drv1 = sc;\n\tprintf(\"Mypci device loaded.\\n\");\n\treturn (0);\n}\n"
    ],
    "id_hash": 1108703314764382865,
    "content_hash": 1108703314764382865,
    "location": "documentation/content/en/books/arch-handbook/pci/_index.adoc:203",
    "context": "",
    "note": "type: delimited block . 4",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 32,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 58,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1129688/?format=api",
    "priority": 100,
    "id": 1129688,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookpci_index/en/?checksum=8f62e7ca65d44291",
    "url": "https://translate-dev.freebsd.org/api/units/1129688/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T13:15:06.417765Z"
}