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

REST API an ASR 1000

Hello all,

I managed to set up REST API for IOS XE on an ASR 1006 with an RP2. Now I'm playing around a bit getting interfaces statistics for example. I can get the stats for the Management Interface with the call /api/v1/interfaces/GigabitEthernet0/statistics. Now I'm interested in the stats for Gi0/0/0. Does anybody know how to get it? I have tried api/v1/interfaces/GigabitEthernet0/0/0/statistics and api/v1/interfaces/GigabitEthernet0%2F0%2F0/statistics but no success (http 404). Is it missing in the API or is there something that should be found in the documentation. ;-)

Thanks in advance

Br

Michael

1 Reply 1

I just found the solution: Replace / with - and you get the interface information.

Review Cisco Networking products for a $25 gift card