![]() |
REST API
14
REST API for Luna Network HSMs
|
This resource allows to list all the ctc classes associated under an network interface/device.
Users with the following role privileges can perform this command:
The identifier of a network device.
Use: Required
JSON Schema:
Object type: string
List of all the classes associated under an interface.
JSON Schema: Network Device Classes
Failed to return list of classes assigned under the interface.
Specified interface does not exist.
GET https://1.2.3.4:8443/api/lunasa/network/devices/eth0/classes { }
{ "classes": [ { "classId": "testClass", "url": "/api/lunasa/network/devices/eth0/classes/testClass" }, { "classId": "demoClass", "url": "/api/lunasa/network/devices/eth0/classes/demoClass" } ] }