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

NSO rollback-label and rollback-comment in header of REST services

Hi,

I'm sending this "POST" request on our NSO environment, because we want to have for all "commits requests" the order id and e key that had create the request:

 

http://xx.xx.xx.xx:8080/restconf/data/tailf-ncs:services?rollback-label=ANTO&rollback-comment=TEST

in fact, I doing this command I can see the label and comment associated at my request
federicoadm@ncs# show configuration commit list
2023-06-09 12:30:56
SNo. ID User Client Time Stamp Label Comment
~~~~ ~~ ~~~~ ~~~~~~ ~~~~~~~~~~ ~~~~~ ~~~~~~~
54108 54108 federicoad commit-queu 2023-06-09 12:30:54
54107 54107 federicoad rest 2023-06-09 12:30:52 ANTO TEST
54104 54104 federicoad cli 2023-06-08 16:29:00

 

My question is that, Can we put this fields in the header of "request REST" instead in the URL?

else, Is there others fields that I can use in the header to achieve my goal?

 

thanks and regards,

Antonello

0 Replies 0