03-11-2020 01:56 AM
Hello,
I am wondering and searched for kicker RESTAPI but didn't find. I am trying to GET kickers configured on NSO or POST/PUT new kicker. As you know, on NSO CLI, we always do unhide debug, but how can we do it via RESTAPI call.
NSO version: 4.7.5.2 and 5.2.1
Solved! Go to Solution.
03-11-2020 03:43 AM
Hello,
you have a Query parameter you can add to your GET request:
http://127.0.0.1:8080/restconf/data/tailf-kicker:kickers?unhide=debug
This is described in NSO Northbound documentation / The RESTCONF API / Extensions / Additional query parameters (though it will redirect you to similar section in REST API) but it works (just tested this on NSO 5.2.1.1 for the record)
Now this gives you a GET ... and documentation does not say anything about PATCH though I just tried and it works
03-11-2020 03:43 AM
Hello,
you have a Query parameter you can add to your GET request:
http://127.0.0.1:8080/restconf/data/tailf-kicker:kickers?unhide=debug
This is described in NSO Northbound documentation / The RESTCONF API / Extensions / Additional query parameters (though it will redirect you to similar section in REST API) but it works (just tested this on NSO 5.2.1.1 for the record)
Now this gives you a GET ... and documentation does not say anything about PATCH though I just tried and it works
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide