{"type":"api","title":"Get Spanning Tree Configuration","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["Switching"],"summary":"Get Spanning Tree Configuration","description":"Retrieve the spanning tree configuration for a given interface","operationId":"data_switch_switch_interface_gigabitEthernet_gigabitEthernet_name_spanning_tree_get","produces":["application/yang-data+json"],"parameters":[{"name":"gigabitEthernet-name","in":"path","description":"","required":true,"type":"string","format":"string","$$ref":"#/parameters/gigabitEthernet-name"},{"name":"content","in":"query","description":"controlling descendant nodes in response","required":false,"type":"string","format":"enumeration","default":"config","enum":["config","nonconfig","all"],"$$ref":"#/parameters/content"}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"switch:spanning-tree":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"bpdu":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"filtering","enum":["filtering","flooding"]},"bpduguard":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"disable","enum":["disable","enable"]},"cost":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint32"},"disable":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"[null]"},"guard":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"root":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"[null]"}}},"link-type":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"point-to-point","enum":["point-to-point","shared"]},"port-priority":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"portfast":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"auto","enum":["enable","disable","auto"]},"mst":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"mst-list":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"mstid":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"cost":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint32"},"port-priority":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint32"}}}}}}}}},"$$ref":"#/definitions/data_switch_switch_interface_gigabitEthernet_gigabitEthernet-name_spanning-tree"}},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_switch_switch_interface_gigabitEthernet_gigabitEthernet_name_spanning_tree_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/switch:switch/interface/gigabitEthernet={gigabitEthernet-name}/spanning-tree"}}