Skip to content

List device type modules

GET
/api/device-types/{id}/modules
curl --request GET \
--url http://localhost:3000/api/device-types/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/modules \
--cookie session=<session>

Line-card / uplink modules for a device type, sorted by sortOrder then sku.

id
required
string format: uuid

Success

Media type application/json
object
data
Array<object>
object
id
required
string format: uuid
deviceTypeId
required
string format: uuid
sku
required
string
name
required
string
description
string
nullable
slotLabel
string
nullable
connectorType
string
nullable
speeds
Array<string>
portCount
integer
nullable
poeStandard
string
nullable
poeWatts
integer
nullable
notes
string
nullable
sortOrder
integer
source
string
Allowed values: vendor customer
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Example
{
"data": [
{
"source": "vendor"
}
]
}

Not authenticated

Media type application/json
object
error
required
string
Example
{
"error": "Not found"
}