List interfaces
GET
/api/interfaces
const url = 'http://localhost:3000/api/interfaces?page=1&sort=name&order=asc';const options = {method: 'GET', headers: {cookie: 'session=<session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:3000/api/interfaces?page=1&sort=name&order=asc' \ --cookie session=<session>Interfaces are device ports — same rows as /api/devices/{id}/ports, listed globally.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” page
integer
Page number (1-based)
pageSize
integer
Rows per page. Omitted = full table, capped at 10000.
search
string
Case-insensitive substring match across name, MAC address, VLAN, description, port type
sort
string
Sort column
order
string
Sort direction
deviceId
string format: uuid
Scope the list to one device
Responses
Section titled “ Responses ”Success
Media type application/json
object
data
required
Array<object>
object
id
required
string format: uuid
deviceId
required
string format: uuid
name
required
string
portType
required
string
status
required
string
linkStatus
required
string
peer
string
vlan
string
lldp
string
errs
integer
description
string
portGroupLabel
string
portIndex
integer
connectorType
string
speeds
Array<string>
poeStandard
string
poeWatts
integer
transceiver
string
mgig
boolean
breakoutCapable
boolean
moduleSlot
string
macAddress
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
total
required
integer
page
required
integer
pageSize
required
integer
hasMore
required
boolean
Example
{ "data": [ { "portType": "1000base-t", "status": "enabled", "linkStatus": "up" } ]}Invalid filter param
Media type application/json
object
error
required
string
Example
{ "error": "Not found"}Not authenticated
Media type application/json
object
error
required
string
Example
{ "error": "Not found"}