06-03-2020 10:24 AM
Hi, I have a list with multiple keys in my model, like this:
List list1 { key "key1, key2, key3" ... }
I want to know how to make a query in restconf to get all list instance with key1= "A" and key2="B" (for any key3)
Something like this:
curl GET http://ip:port/restconf/data/services/.../list1=A,B
But i get a uri keypath not found error
RESTCONF RFC says this:
All of the components in the "key" statement MUST be encoded. Partial instance identifiers are not supported.
So, maybe is not possible.
Solved! Go to Solution.
06-03-2020 12:20 PM
06-03-2020 10:57 AM
06-03-2020 12:20 PM
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