-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.json
29 lines (29 loc) · 1.31 KB
/
test.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[
{
"context": "module alert-group { \n namespace 'http://example.com/alert-group'; \n prefix alert-group; \n \ncontainer alert-groups { \n container config { \n leaf-list name { \n type string; \n } \n } \n list group-config { \n key 'tenant'; \n leaf tenant { \n type string; \n } \n leaf-list name { \n type string; \n } \n } \n } \n }. Based on the above YANG model return me RESTCONF-API method and request body for the questions asked, [Method: GET; API: /restconf/data/alert-group:alert-groups]",
"qas": [
{
"id": "00001",
"is_impossible": false,
"question": "Retrieve all the alert groups?",
"answers": [
{
"text": "Method: GET; API: /restconf/data/alert-group:alert-groups",
"answer_start": 432
}
]
},
{
"id": "00002",
"is_impossible": false,
"question": "Can you give me all the alert groups?",
"answers": [
{
"text": "Method: GET; API: /restconf/data/alert-group:alert-groups",
"answer_start": 432
}
]
}
]
}
]