- Start your Apidog journey
- Sample APIs
- Selamat datangGET
- List PerangkatGET
- 01-Office (Juniper)GET
- 101-Office-configGET
- 102-Office-interfacesGET
- 103-Office-vlansGET
- 104-Office-arp-tableGET
- 105-Office-interfaces_ipGET
- 106-Office-environmentGET
- 107-Office-usersGET
- 02-Branch (Cisco)GET
- 201-Branch-configGET
- 202-Branch-interfacesGET
- 203-Branch-interfaces_ipGET
- 204-Branch-arp_tableGET
- 205-Branch-mac_address_tableGET
- 206-Branch-snmpGET
- 207-Branch-environmentGET
- 03-Home (Mikrotik)GET
- 04-Ruko (Mikrotik)GET
- 401-Ruko-interfacesGET
- 402-Ruko-interfaces_ipGET
- 403-Ruko-get_mac_address_tableGET
- 404-Ruko-snmpGET
- 405-Ruko-usersGET
202-Branch-interfaces
Developing
GET
/devices/branch/napalm_get/interfaces
Request
None
Responses
🟢200Success
application/json
Body
branch
array [object {10}]Â
required
result
objectÂ
optional
host
objectÂ
optional
changed
booleanÂ
optional
diff
stringÂ
optional
failed
booleanÂ
optional
exception
nullÂ
optional
name
stringÂ
optional
severity_level
integerÂ
optional
stdout
nullÂ
optional
stderr
nullÂ
optional
Example
{"branch":[{"result":{"interfaces":{"GigabitEthernet0/0":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:00:00","last_flapped":-1.0,"mtu":1500,"speed":1000.0},"GigabitEthernet0/1":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:00:01","last_flapped":-1.0,"mtu":1500,"speed":1000.0},"GigabitEthernet0/2":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:00:02","last_flapped":-1.0,"mtu":1500,"speed":1000.0},"GigabitEthernet0/3":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:00:03","last_flapped":-1.0,"mtu":1500,"speed":1000.0},"GigabitEthernet1/0":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:00:04","last_flapped":-1.0,"mtu":1500,"speed":1000.0},"GigabitEthernet1/1":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:00:05","last_flapped":-1.0,"mtu":1500,"speed":1000.0},"GigabitEthernet1/2":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:00:06","last_flapped":-1.0,"mtu":1500,"speed":1000.0},"GigabitEthernet1/3":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:00:07","last_flapped":-1.0,"mtu":1500,"speed":1000.0},"Vlan1":{"is_enabled":true,"is_up":true,"description":"","mac_address":"50:00:00:0A:80:01","last_flapped":-1.0,"mtu":1500,"speed":1000.0}}},"host":{},"changed":false,"diff":"","failed":false,"exception":null,"name":"Get branch interfaces","severity_level":20,"stdout":null,"stderr":null}]}
Modified at 2025-02-22 00:17:34