cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2258
Views
0
Helpful
1
Replies

POSTMAN Yang Data questions

Hi Team,

Could you please kindly give me some advice for the questions regarding POSTMAN+ Yang Data ?

Thanks a lot.

 

Here is link in POSTMAN

https://ios-xe-mgmt-latest.cisco.com:9443/restconf/data/Cisco-IOS-XE-interfaces-oper:interfaces/interface=GigabithEthernet1----------Test result is successful.

 

My questions:

1 Since "interface" is list in yang data. why interface could = GigabitEthernet1,  My understanding is interface/name=GigabithEthernet1 but test (name=GigabithEthernet1) in POSTMAN is fail.

 

2 If I would like to create a filter for specific name or interface type  how can I write the postman link ?

https://ios-xe-mgmt-latest.cisco.com:9443/restconf/data/Cisco-IOS-XE-interfaces-oper:interfaces/interface=????????

(please give some input)

 

Cisco-IOS-XE-interfaces-oper    module

              interfaces                      container 

                     interface                 list

                            name               leaf

                            interface-type  leaf
                            admin-status   leaf
                            speed              leaf

Jacky Zhang
Global Telecom
1 Reply 1

Alex Stevenson
Cisco Employee
Cisco Employee

I think this EXTERNAL article series will explain these things well:

 

RESTCONF intro with Postman

 

Hope this helps!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: