HTTP 200 OK
Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept
{
"count": 5,
"next": null,
"previous": null,
"results": [
{
"id": 2,
"url": "https://netbox.c3voc.de/api/dcim/device-roles/2/?format=api",
"display": "Compute Server",
"name": "Compute Server",
"slug": "compute-server",
"color": "ff5722",
"vm_role": true,
"config_template": null,
"description": "",
"tags": [],
"custom_fields": {},
"created": "2022-07-23T14:08:43.006856Z",
"last_updated": "2022-07-23T14:50:55.356414Z",
"device_count": 5,
"virtualmachine_count": 0
},
{
"id": 4,
"url": "https://netbox.c3voc.de/api/dcim/device-roles/4/?format=api",
"display": "Generic",
"name": "Generic",
"slug": "generic",
"color": "111111",
"vm_role": false,
"config_template": null,
"description": "",
"tags": [],
"custom_fields": {},
"created": "2023-01-03T13:25:57.728120Z",
"last_updated": "2023-01-03T13:26:22.406272Z",
"device_count": 3,
"virtualmachine_count": 0
},
{
"id": 5,
"url": "https://netbox.c3voc.de/api/dcim/device-roles/5/?format=api",
"display": "Power Supply",
"name": "Power Supply",
"slug": "power-supply",
"color": "03a9f4",
"vm_role": false,
"config_template": null,
"description": "",
"tags": [],
"custom_fields": {},
"created": "2023-01-03T13:39:33.219294Z",
"last_updated": "2023-01-03T13:39:33.219311Z",
"device_count": 4,
"virtualmachine_count": 0
},
{
"id": 3,
"url": "https://netbox.c3voc.de/api/dcim/device-roles/3/?format=api",
"display": "Storage Server",
"name": "Storage Server",
"slug": "storage-server",
"color": "673ab7",
"vm_role": true,
"config_template": null,
"description": "",
"tags": [],
"custom_fields": {},
"created": "2022-07-23T14:50:47.279649Z",
"last_updated": "2022-07-23T14:50:47.279664Z",
"device_count": 1,
"virtualmachine_count": 0
},
{
"id": 1,
"url": "https://netbox.c3voc.de/api/dcim/device-roles/1/?format=api",
"display": "Switch",
"name": "Switch",
"slug": "switch",
"color": "9e9e9e",
"vm_role": false,
"config_template": null,
"description": "",
"tags": [],
"custom_fields": {},
"created": "2022-07-23T13:50:49.217017Z",
"last_updated": "2022-07-23T13:50:49.217030Z",
"device_count": 4,
"virtualmachine_count": 0
}
]
}