Retrieves a list of all network devices.
GET/network/devices
This endpoint returns all registered network devices in the system.
Responses
- 200 OK: Successfully retrieved the list of network devices.
- 500 Internal Server Error: Unexpected server error.
Request
Responses
- 200
- 500
Successfully retrieved the list of network devices.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
bandwidth
object
nullable
Represents bandwidth details for a network device
Download bandwidth in Mbps.
Upload bandwidth in Mbps.
The unique identifier of the network device.
The IP address of the network device.
The latency in milliseconds (optional).
The name of the network device.
The packet loss percentage (optional).
Possible values: [online, offline, degraded, maintenance, error, unspecified]
Represents the status of a network device
This enum describes the current operational state of a network device. The status can indicate whether the device is operational, undergoing maintenance, or experiencing issues.
Possible values: [router, switch, accessPoint, firewall]
Represents the type of a network device
This enum describes the different types of network devices that can exist in a network. Each type has its own role and functionality within the network infrastructure.
[
{
"bandwidth": {
"downloadMbps": 0,
"uploadMbps": 0
},
"id": 0,
"ip": "string",
"latencyMs": 0,
"name": "string",
"packetLossPercentage": 0,
"status": "online",
"type": "router"
}
]
Internal Server Error - Unexpected issue occurred.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- MOD8
- MOD9
- MOD10
- MOD11
- MOD12
- MOD13
- MOD14
- MOD15
- MOD16
oneOf
Possible values: [ClientError]
Possible values: [InternetConnectionError]
Possible values: [UnauthorizedError]
Possible values: [InternalServerError]
Possible values: [MissingDataError]
Possible values: [ParsingFailedError]
Possible values: [WritingDataError]
Possible values: [ForbiddenError]
Possible values: [NotAllowedError]
Possible values: [ValidationError]
Possible values: [SQLError]
Possible values: [StorageLimitExceededError]
Possible values: [StorageUnavailable]
Possible values: [ConflictError]
Possible values: [MatomoError]
Possible values: [ProcessInterrupted]
{}