5 "title": "mandatory-test",
6 "description": "We are providing full API for configurational data which can be edited (by POST, PUT, PATCH and DELETE).\nFor operational data we only provide GET API.\n\nFor majority of request you can see only config data in examples. That’s because we can show only one example\nper request. The exception when you can see operational data in example is when data are representing\noperational (config false) container with no config data in it."
10 "url": "http://localhost:8181/"
14 "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container/mandatory-container": {
40 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container"
46 "mandatory-container": {
47 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container",
57 "summary": "GET - 123 - mandatory-test - mandatory-container"
65 "description": "mandatory-container",
69 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container"
75 "mandatory-test:mandatory-container": {
76 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container",
86 "description": "Created"
89 "description": "Updated"
93 "summary": "PUT - mandatory-test - 123 - mandatory-container"
102 "description": "Deleted"
106 "summary": "DELETE - 123 - mandatory-test - mandatory-container"
114 "description": "mandatory-container",
116 "application/yang-data+json": {
119 "mandatory-test:mandatory-container": {
120 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container",
126 "application/yang-data+xml": {
128 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container"
135 "description": "Updated"
142 "summary": "PATCH - mandatory-test - 123 - mandatory-container"
145 "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container/optional-list={id}": {
175 "description": "200",
179 "$ref": "#/components/schemas/mandatory-test_root-container_optional-list"
182 "application/json": {
188 "$ref": "#/components/schemas/mandatory-test_root-container_optional-list",
199 "summary": "GET - 123 - mandatory-test - optional-list"
216 "description": "optional-list",
220 "$ref": "#/components/schemas/mandatory-test_root-container_optional-list"
223 "application/json": {
226 "mandatory-test:optional-list": {
229 "$ref": "#/components/schemas/mandatory-test_root-container_optional-list",
240 "description": "Created"
243 "description": "Updated"
247 "summary": "PUT - mandatory-test - 123 - optional-list"
265 "description": "Deleted"
269 "summary": "DELETE - 123 - mandatory-test - optional-list"
286 "description": "optional-list",
288 "application/yang-data+json": {
291 "mandatory-test:optional-list": {
294 "$ref": "#/components/schemas/mandatory-test_root-container_optional-list",
301 "application/yang-data+xml": {
303 "$ref": "#/components/schemas/mandatory-test_root-container_optional-list"
310 "description": "Updated"
317 "summary": "PATCH - mandatory-test - 123 - optional-list"
320 "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container/mandatory-list={id}": {
350 "description": "200",
354 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list"
357 "application/json": {
363 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list",
374 "summary": "GET - 123 - mandatory-test - mandatory-list"
391 "description": "mandatory-list",
395 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list"
398 "application/json": {
401 "mandatory-test:mandatory-list": {
404 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list",
415 "description": "Created"
418 "description": "Updated"
422 "summary": "PUT - mandatory-test - 123 - mandatory-list"
440 "description": "Deleted"
444 "summary": "DELETE - 123 - mandatory-test - mandatory-list"
461 "description": "mandatory-list",
463 "application/yang-data+json": {
466 "mandatory-test:mandatory-list": {
469 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list",
476 "application/yang-data+xml": {
478 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list"
485 "description": "Updated"
492 "summary": "PATCH - mandatory-test - 123 - mandatory-list"
495 "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-optional-list={id}": {
525 "description": "200",
529 "$ref": "#/components/schemas/mandatory-test_root-optional-list"
532 "application/json": {
535 "root-optional-list": {
538 "$ref": "#/components/schemas/mandatory-test_root-optional-list",
549 "summary": "GET - 123 - mandatory-test - root-optional-list"
566 "description": "root-optional-list",
570 "$ref": "#/components/schemas/mandatory-test_root-optional-list"
573 "application/json": {
576 "mandatory-test:root-optional-list": {
579 "$ref": "#/components/schemas/mandatory-test_root-optional-list",
590 "description": "Created"
593 "description": "Updated"
597 "summary": "PUT - mandatory-test - 123 - root-optional-list"
615 "description": "Deleted"
619 "summary": "DELETE - 123 - mandatory-test - root-optional-list"
636 "description": "root-optional-list",
638 "application/yang-data+json": {
641 "mandatory-test:root-optional-list": {
644 "$ref": "#/components/schemas/mandatory-test_root-optional-list",
651 "application/yang-data+xml": {
653 "$ref": "#/components/schemas/mandatory-test_root-optional-list"
660 "description": "Updated"
667 "summary": "PATCH - mandatory-test - 123 - root-optional-list"
670 "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container": {
692 "description": "200",
696 "$ref": "#/components/schemas/mandatory-test_root-container"
699 "application/json": {
703 "$ref": "#/components/schemas/mandatory-test_root-container",
713 "summary": "GET - 123 - mandatory-test - root-container"
721 "description": "root-container",
725 "$ref": "#/components/schemas/mandatory-test_root-container"
728 "application/json": {
731 "mandatory-test:root-container": {
732 "$ref": "#/components/schemas/mandatory-test_root-container",
742 "description": "Created"
745 "description": "Updated"
749 "summary": "PUT - mandatory-test - 123 - root-container"
757 "description": "optional-presence-container",
761 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container"
764 "application/json": {
767 "optional-presence-container": {
768 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container",
778 "description": "Created"
781 "description": "\n\nNote:\nIn example payload, you can see only the first data node child of the resource to be created, following the\nguidelines of RFC 8040, which allows us to create only one resource in POST request.\n",
782 "summary": "POST - 123 - mandatory-test - root-container"
791 "description": "Deleted"
795 "summary": "DELETE - 123 - mandatory-test - root-container"
803 "description": "root-container",
805 "application/yang-data+json": {
808 "mandatory-test:root-container": {
809 "$ref": "#/components/schemas/mandatory-test_root-container",
815 "application/yang-data+xml": {
817 "$ref": "#/components/schemas/mandatory-test_root-container"
824 "description": "Updated"
831 "summary": "PATCH - mandatory-test - 123 - root-container"
834 "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container/optional-presence-container": {
856 "description": "200",
860 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container"
863 "application/json": {
866 "optional-presence-container": {
867 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container",
877 "summary": "GET - 123 - mandatory-test - optional-presence-container"
885 "description": "optional-presence-container",
889 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container"
892 "application/json": {
895 "mandatory-test:optional-presence-container": {
896 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container",
906 "description": "Created"
909 "description": "Updated"
913 "summary": "PUT - mandatory-test - 123 - optional-presence-container"
922 "description": "Deleted"
926 "summary": "DELETE - 123 - mandatory-test - optional-presence-container"
934 "description": "optional-presence-container",
936 "application/yang-data+json": {
939 "mandatory-test:optional-presence-container": {
940 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container",
946 "application/yang-data+xml": {
948 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container"
955 "description": "Updated"
962 "summary": "PATCH - mandatory-test - 123 - optional-presence-container"
965 "/rests/data/nodes/node=123/yang-ext:mount": {
972 "description": "root-container",
976 "$ref": "#/components/schemas/mandatory-test_root-container"
979 "application/json": {
983 "$ref": "#/components/schemas/mandatory-test_root-container",
993 "description": "Created"
996 "description": "\n\nNote:\nIn example payload, you can see only the first data node child of the resource to be created, following the\nguidelines of RFC 8040, which allows us to create only one resource in POST request.\n",
997 "summary": "POST - 123 - mandatory-test - mandatory-test"
1000 "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-mandatory-list={id}": {
1003 "123 mandatory-test"
1030 "description": "200",
1032 "application/xml": {
1034 "$ref": "#/components/schemas/mandatory-test_root-mandatory-list"
1037 "application/json": {
1040 "root-mandatory-list": {
1043 "$ref": "#/components/schemas/mandatory-test_root-mandatory-list",
1054 "summary": "GET - 123 - mandatory-test - root-mandatory-list"
1058 "123 mandatory-test"
1071 "description": "root-mandatory-list",
1073 "application/xml": {
1075 "$ref": "#/components/schemas/mandatory-test_root-mandatory-list"
1078 "application/json": {
1081 "mandatory-test:root-mandatory-list": {
1084 "$ref": "#/components/schemas/mandatory-test_root-mandatory-list",
1095 "description": "Created"
1098 "description": "Updated"
1102 "summary": "PUT - mandatory-test - 123 - root-mandatory-list"
1106 "123 mandatory-test"
1120 "description": "Deleted"
1124 "summary": "DELETE - 123 - mandatory-test - root-mandatory-list"
1128 "123 mandatory-test"
1141 "description": "root-mandatory-list",
1143 "application/yang-data+json": {
1146 "mandatory-test:root-mandatory-list": {
1149 "$ref": "#/components/schemas/mandatory-test_root-mandatory-list",
1156 "application/yang-data+xml": {
1158 "$ref": "#/components/schemas/mandatory-test_root-mandatory-list"
1165 "description": "Updated"
1172 "summary": "PATCH - mandatory-test - 123 - root-mandatory-list"
1178 "mandatory-test_root-container_mandatory-list": {
1180 "mandatory-list-field"
1183 "mandatory-list-field": {
1186 "example": "Some mandatory-list-field"
1196 "name": "mandatory-list",
1197 "namespace": "http://example.com/test"
1200 "title": "mandatory-test_root-container_mandatory-list",
1203 "mandatory-test_root-container": {
1205 "mandatory-root-leaf",
1206 "mandatory-container",
1207 "mandatory-first-choice",
1211 "mandatory-root-leaf": {
1214 "example": "Some mandatory-root-leaf"
1220 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list"
1225 "mandatory-list-field": "Some mandatory-list-field"
1229 "mandatory-list-field": "Some mandatory-list-field"
1234 "mandatory-first-choice": {
1237 "example": "Some mandatory-first-choice"
1239 "optional-root-leaf": {
1242 "example": "Some optional-root-leaf"
1244 "optional-presence-container": {
1245 "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container"
1247 "mandatory-container": {
1248 "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container"
1250 "optional-first-choice": {
1253 "example": "Some optional-first-choice"
1259 "$ref": "#/components/schemas/mandatory-test_root-container_optional-list"
1264 "name": "root-container",
1265 "namespace": "http://example.com/test"
1268 "title": "mandatory-test_root-container",
1271 "mandatory-test_root-container_optional-list": {
1273 "optional-list-field": {
1276 "example": "Some optional-list-field"
1286 "name": "optional-list",
1287 "namespace": "http://example.com/test"
1290 "title": "mandatory-test_root-container_optional-list",
1293 "mandatory-test_root-container_optional-presence-container": {
1298 "example": "Some presence-leaf"
1302 "name": "optional-presence-container",
1303 "namespace": "http://example.com/test"
1306 "title": "mandatory-test_root-container_optional-presence-container",
1309 "mandatory-test_root-optional-list": {
1311 "root-optional-list-field": {
1314 "example": "Some root-optional-list-field"
1324 "name": "root-optional-list",
1325 "namespace": "http://example.com/test"
1328 "title": "mandatory-test_root-optional-list",
1331 "mandatory-test_root-mandatory-list": {
1339 "root-mandatory-list-field": {
1342 "example": "Some root-mandatory-list-field"
1346 "name": "root-mandatory-list",
1347 "namespace": "http://example.com/test"
1350 "title": "mandatory-test_root-mandatory-list",
1353 "mandatory-test_root-container_mandatory-container": {
1356 "leaf-list-with-min-elements"
1359 "leaf-list-with-min-elements": {
1364 "example": "Some leaf-list-with-min-elements"
1367 "Some leaf-list-with-min-elements",
1368 "Some leaf-list-with-min-elements"
1375 "example": "Some mandatory-leaf"
1379 "name": "mandatory-container",
1380 "namespace": "http://example.com/test"
1383 "title": "mandatory-test_root-container_mandatory-container",
1387 "securitySchemes": {