cancel
Showing results for 
Search instead for 
Did you mean: 

RESTCONF VOSS <key> Value for Interface

RESTCONF VOSS <key> Value for Interface

Configterminal
New Contributor III

Hi, I am trying to programatically pull data via REST API to my device.  I was able to get authenticated properly and place the token in my GET Request.  My issue is figuring out what to place in the <key> variable for interface 1/1 for example.

E.g.:

http://<IP>:8080/rest/restconf/data/openconfig-platform:components/component=1/1

I get:

{
    "ietf-restconf:errors": {
        "error": [
            {
                "error-message""Invalid URL: /data/openconfig-platform:components/component=1/1",
                "error-tag""unknown-namespace",
                "error-type""protocol"
            }
        ]
    }
}
 
It works for everything else, so maybe I need an escape character for the interface because of the "1/1".
 
Thanks,
0 REPLIES 0
GTM-P2G8KFN