Returns all configured device types for the current instance.
Request
GET /device-type
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Example Request
GET /device-type
Response
Returns a JSON array of device type objects.
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Unique device type ID. |
name | string | Display name of the device type (e.g. Desktop, Mobile). |
Example Response
[
{
"id": 1,
"name": "Desktop"
},
{
"id": 2,
"name": "Mobile"
},
{
"id": 3,
"name": "Tablet"
}
]
