{ "openapi": "3.0.3", "info": { "version": "1.0.0", "title": "123 modules of RESTCONF", "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." }, "servers": [ { "url": "http://localhost:8181/" } ], "paths": { "/rests/data/nodes/node=123/yang-ext:mount/toaster2:lst={lf1}/lst1={key1},{key2}": { "get": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "key1", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "key2", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "lst1": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst_lst1", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_lst1" } } } } }, "description": "", "summary": "GET - 123 - toaster2 - lst1" }, "put": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "key1", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "key2", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "lst1", "content": { "application/json": { "schema": { "properties": { "toaster2:lst1": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst_lst1", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_lst1" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - toaster2 - 123 - lst1" }, "delete": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "key1", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "key2", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - toaster2 - lst1" }, "patch": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "key1", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "key2", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "lst1", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_lst1" } }, "application/yang-data+json": { "schema": { "properties": { "toaster2:lst1": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst_lst1", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - toaster2 - 123 - lst1" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/enumeration={enumeration-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "enumeration-key", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "enumeration": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_enumeration", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_enumeration" } } } } }, "description": "", "summary": "GET - 123 - typed-params - enumeration" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "enumeration-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "enumeration", "content": { "application/json": { "schema": { "properties": { "typed-params:enumeration": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_enumeration", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_enumeration" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - enumeration" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "enumeration-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - enumeration" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "enumeration-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "enumeration", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_enumeration" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:enumeration": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_enumeration", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - enumeration" } }, "/rests/data/nodes/node=123/yang-ext:mount/recursive:container-root/root-list={name}/nested-list={name1}/super-nested-list={name2}": { "get": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name2", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "super-nested-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list_super-nested-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list_super-nested-list" } } } } }, "description": "", "summary": "GET - 123 - recursive - super-nested-list" }, "put": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name2", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "super-nested-list", "content": { "application/json": { "schema": { "properties": { "recursive:super-nested-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list_super-nested-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list_super-nested-list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - recursive - 123 - super-nested-list" }, "delete": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name2", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - recursive - super-nested-list" }, "patch": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name2", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "super-nested-list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list_super-nested-list" } }, "application/yang-data+json": { "schema": { "properties": { "recursive:super-nested-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list_super-nested-list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - recursive - 123 - super-nested-list" } }, "/rests/data/nodes/node=123/yang-ext:mount/choice-test:second-container": { "get": { "tags": [ "123 choice-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "second-container": { "$ref": "#/components/schemas/choice-test_second-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/choice-test_second-container" } } } } }, "description": "", "summary": "GET - 123 - choice-test - second-container" }, "put": { "tags": [ "123 choice-test" ], "parameters": [], "requestBody": { "description": "second-container", "content": { "application/json": { "schema": { "properties": { "choice-test:second-container": { "$ref": "#/components/schemas/choice-test_second-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/choice-test_second-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - choice-test - 123 - second-container" }, "delete": { "tags": [ "123 choice-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - choice-test - second-container" }, "patch": { "tags": [ "123 choice-test" ], "parameters": [], "requestBody": { "description": "second-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/choice-test_second-container" } }, "application/yang-data+json": { "schema": { "properties": { "choice-test:second-container": { "$ref": "#/components/schemas/choice-test_second-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - choice-test - 123 - second-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/uint32={uint32-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint32-key", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "uint32": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint32", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint32" } } } } }, "description": "", "summary": "GET - 123 - typed-params - uint32" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint32-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "uint32", "content": { "application/json": { "schema": { "properties": { "typed-params:uint32": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint32", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint32" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - uint32" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint32-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - uint32" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint32-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "uint32", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint32" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:uint32": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint32", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - uint32" } }, "/rests/data/nodes/node=123/yang-ext:mount/toaster2:toaster/toasterSlot={slotId}/toaster-augmented:slotInfo": { "get": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "slotId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "slotInfo": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot_slotInfo", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot_slotInfo" } } } } }, "description": "", "summary": "GET - 123 - toaster2 - slotInfo" }, "put": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "slotId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "slotInfo", "content": { "application/json": { "schema": { "properties": { "toaster-augmented:slotInfo": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot_slotInfo", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot_slotInfo" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - toaster2 - 123 - slotInfo" }, "delete": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "slotId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - toaster2 - slotInfo" }, "patch": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "slotId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "slotInfo", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot_slotInfo" } }, "application/yang-data+json": { "schema": { "properties": { "toaster-augmented:slotInfo": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot_slotInfo", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - toaster2 - 123 - slotInfo" } }, "/rests/operations/nodes/node=123/yang-ext:mount": { "get": { "tags": [ "123 GET root" ], "responses": { "200": { "description": "OK" } }, "description": "Queries the available operations (RPC calls) on the mounted hosted.", "summary": "GET - 123 - datastore - operations" } }, "/rests/data/nodes/node=123/yang-ext:mount/toaster:toaster": { "get": { "tags": [ "123 toaster" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "toaster": { "$ref": "#/components/schemas/toaster_toaster", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster_toaster" } } } } }, "description": "Top-level container for all toaster database objects.", "summary": "GET - 123 - toaster - toaster" }, "put": { "tags": [ "123 toaster" ], "parameters": [], "requestBody": { "description": "toaster", "content": { "application/json": { "schema": { "properties": { "toaster:toaster": { "$ref": "#/components/schemas/toaster_toaster", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster_toaster" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "Top-level container for all toaster database objects.", "summary": "PUT - toaster - 123 - toaster" }, "delete": { "tags": [ "123 toaster" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "Top-level container for all toaster database objects.", "summary": "DELETE - 123 - toaster - toaster" }, "patch": { "tags": [ "123 toaster" ], "parameters": [], "requestBody": { "description": "toaster", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster_toaster" } }, "application/yang-data+json": { "schema": { "properties": { "toaster:toaster": { "$ref": "#/components/schemas/toaster_toaster", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "Top-level container for all toaster database objects.", "summary": "PATCH - toaster - 123 - toaster" } }, "/rests/operations/nodes/node=123/yang-ext:mount/toaster2:restock-toaster": { "post": { "tags": [ "123 toaster2" ], "parameters": [], "requestBody": { "description": "restock-toaster_input", "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/toaster2_restock-toaster_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_restock-toaster_input" } } } }, "responses": { "204": { "description": "RPC restock-toaster success" } }, "description": "Restocks the toaster with the amount of bread specified.", "summary": "POST - 123 - toaster2 - restock-toaster" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container/nested-container/mandatory-list={id}": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - mandatory-list" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "mandatory-list", "content": { "application/json": { "schema": { "properties": { "test-container-childs:mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - mandatory-list" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - mandatory-list" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "mandatory-list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - mandatory-list" } }, "/rests/data/nodes/node=123/yang-ext:mount/toaster2:toaster/toasterSlot={slotId}": { "get": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "slotId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "toasterSlot": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot" } } } } }, "description": "", "summary": "GET - 123 - toaster2 - toasterSlot" }, "put": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "slotId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "toasterSlot", "content": { "application/json": { "schema": { "properties": { "toaster2:toasterSlot": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - toaster2 - 123 - toasterSlot" }, "delete": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "slotId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - toaster2 - toasterSlot" }, "patch": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "slotId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "toasterSlot", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot" } }, "application/yang-data+json": { "schema": { "properties": { "toaster2:toasterSlot": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - toaster2 - 123 - toasterSlot" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/uint8={uint8-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint8-key", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "uint8": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint8", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint8" } } } } }, "description": "", "summary": "GET - 123 - typed-params - uint8" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint8-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "uint8", "content": { "application/json": { "schema": { "properties": { "typed-params:uint8": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint8", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint8" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - uint8" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint8-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - uint8" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint8-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "uint8", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint8" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:uint8": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint8", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - uint8" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/boolean={boolean-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "boolean-key", "in": "path", "required": true, "schema": { "type": "boolean" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "boolean": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_boolean", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_boolean" } } } } }, "description": "", "summary": "GET - 123 - typed-params - boolean" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "boolean-key", "in": "path", "required": true, "schema": { "type": "boolean" } } ], "requestBody": { "description": "boolean", "content": { "application/json": { "schema": { "properties": { "typed-params:boolean": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_boolean", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_boolean" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - boolean" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "boolean-key", "in": "path", "required": true, "schema": { "type": "boolean" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - boolean" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "boolean-key", "in": "path", "required": true, "schema": { "type": "boolean" } } ], "requestBody": { "description": "boolean", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_boolean" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:boolean": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_boolean", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - boolean" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/decimal64={decimal64-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "decimal64-key", "in": "path", "required": true, "schema": { "type": "number" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "decimal64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_decimal64", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_decimal64" } } } } }, "description": "", "summary": "GET - 123 - typed-params - decimal64" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "decimal64-key", "in": "path", "required": true, "schema": { "type": "number" } } ], "requestBody": { "description": "decimal64", "content": { "application/json": { "schema": { "properties": { "typed-params:decimal64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_decimal64", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_decimal64" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - decimal64" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "decimal64-key", "in": "path", "required": true, "schema": { "type": "number" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - decimal64" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "decimal64-key", "in": "path", "required": true, "schema": { "type": "number" } } ], "requestBody": { "description": "decimal64", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_decimal64" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:decimal64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_decimal64", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - decimal64" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container-unique/nested-container-unique": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "nested-container-unique": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - nested-container-unique" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container-unique", "content": { "application/json": { "schema": { "properties": { "test-container-childs:nested-container-unique": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - nested-container-unique" }, "post": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "mandatory-list-unique", "content": { "application/json": { "schema": { "properties": { "mandatory-list-unique": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - test-container-childs - nested-container-unique" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - nested-container-unique" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container-unique", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:nested-container-unique": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - nested-container-unique" } }, "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container": { "get": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "root-container": { "$ref": "#/components/schemas/mandatory-test_root-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container" } } } } }, "description": "", "summary": "GET - 123 - mandatory-test - root-container" }, "put": { "tags": [ "123 mandatory-test" ], "parameters": [], "requestBody": { "description": "root-container", "content": { "application/json": { "schema": { "properties": { "mandatory-test:root-container": { "$ref": "#/components/schemas/mandatory-test_root-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - mandatory-test - 123 - root-container" }, "post": { "tags": [ "123 mandatory-test" ], "parameters": [], "requestBody": { "description": "optional-presence-container", "content": { "application/json": { "schema": { "properties": { "optional-presence-container": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - mandatory-test - root-container" }, "delete": { "tags": [ "123 mandatory-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - mandatory-test - root-container" }, "patch": { "tags": [ "123 mandatory-test" ], "parameters": [], "requestBody": { "description": "root-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container" } }, "application/yang-data+json": { "schema": { "properties": { "mandatory-test:root-container": { "$ref": "#/components/schemas/mandatory-test_root-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - mandatory-test - 123 - root-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/int8={int8-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int8-key", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "int8": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int8", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int8" } } } } }, "description": "", "summary": "GET - 123 - typed-params - int8" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int8-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "int8", "content": { "application/json": { "schema": { "properties": { "typed-params:int8": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int8", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int8" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - int8" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int8-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - int8" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int8-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "int8", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int8" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:int8": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int8", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - int8" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container-two-keys/nested-container-two-keys": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "nested-container-two-keys": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - nested-container-two-keys" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container-two-keys", "content": { "application/json": { "schema": { "properties": { "test-container-childs:nested-container-two-keys": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - nested-container-two-keys" }, "post": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "mandatory-list-two-keys", "content": { "application/json": { "schema": { "properties": { "mandatory-list-two-keys": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - test-container-childs - nested-container-two-keys" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - nested-container-two-keys" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container-two-keys", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:nested-container-two-keys": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - nested-container-two-keys" } }, "/rests/operations/nodes/node=123/yang-ext:mount/action-types:container/container-action": { "post": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "container-action_input", "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/action-types_container_container-action_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_container_container-action_input" } } } }, "responses": { "200": { "description": "RPC container-action success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/action-types_container_container-action_output" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_container_container-action_output" } } } } }, "description": "", "summary": "POST - 123 - action-types - container-action" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "typed": { "$ref": "#/components/schemas/typed-params_typed", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed" } } } } }, "description": "", "summary": "GET - 123 - typed-params - typed" }, "put": { "tags": [ "123 typed-params" ], "parameters": [], "requestBody": { "description": "typed", "content": { "application/json": { "schema": { "properties": { "typed-params:typed": { "$ref": "#/components/schemas/typed-params_typed", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - typed" }, "post": { "tags": [ "123 typed-params" ], "parameters": [], "requestBody": { "description": "string", "content": { "application/json": { "schema": { "properties": { "string": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_string", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_string" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - typed-params - typed" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - typed" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [], "requestBody": { "description": "typed", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:typed": { "$ref": "#/components/schemas/typed-params_typed", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - typed" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/int16={int16-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int16-key", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "int16": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int16", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int16" } } } } }, "description": "", "summary": "GET - 123 - typed-params - int16" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int16-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "int16", "content": { "application/json": { "schema": { "properties": { "typed-params:int16": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int16", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int16" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - int16" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int16-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - int16" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int16-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "int16", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int16" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:int16": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int16", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - int16" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/uint64={uint64-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint64-key", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "uint64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint64", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint64" } } } } }, "description": "", "summary": "GET - 123 - typed-params - uint64" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint64-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "uint64", "content": { "application/json": { "schema": { "properties": { "typed-params:uint64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint64", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint64" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - uint64" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint64-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - uint64" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint64-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "uint64", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint64" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:uint64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint64", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - uint64" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/int64={int64-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int64-key", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "int64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int64", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int64" } } } } }, "description": "", "summary": "GET - 123 - typed-params - int64" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int64-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "int64", "content": { "application/json": { "schema": { "properties": { "typed-params:int64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int64", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int64" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - int64" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int64-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - int64" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int64-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "int64", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int64" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:int64": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int64", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - int64" } }, "/rests/data/nodes/node=123/yang-ext:mount/recursive:container-root/root-list={name}": { "get": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "root-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list" } } } } }, "description": "", "summary": "GET - 123 - recursive - root-list" }, "put": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "root-list", "content": { "application/json": { "schema": { "properties": { "recursive:root-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - recursive - 123 - root-list" }, "delete": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - recursive - root-list" }, "patch": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "root-list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list" } }, "application/yang-data+json": { "schema": { "properties": { "recursive:root-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - recursive - 123 - root-list" } }, "/rests/data/nodes/node=123/yang-ext:mount/action-types:multi-container": { "get": { "tags": [ "123 action-types" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "multi-container": { "$ref": "#/components/schemas/action-types_multi-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_multi-container" } } } } }, "description": "", "summary": "GET - 123 - action-types - multi-container" }, "put": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "multi-container", "content": { "application/json": { "schema": { "properties": { "action-types:multi-container": { "$ref": "#/components/schemas/action-types_multi-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_multi-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - action-types - 123 - multi-container" }, "post": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "inner-container", "content": { "application/json": { "schema": { "properties": { "inner-container": { "$ref": "#/components/schemas/action-types_multi-container_inner-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_multi-container_inner-container" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - action-types - multi-container" }, "delete": { "tags": [ "123 action-types" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - action-types - multi-container" }, "patch": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "multi-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/action-types_multi-container" } }, "application/yang-data+json": { "schema": { "properties": { "action-types:multi-container": { "$ref": "#/components/schemas/action-types_multi-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - action-types - 123 - multi-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list3={name}": { "get": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "list3": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list3", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list3" } } } } }, "description": "", "summary": "GET - 123 - path-params-test - list3" }, "put": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list3", "content": { "application/json": { "schema": { "properties": { "path-params-test:list3": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list3", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list3" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - path-params-test - 123 - list3" }, "delete": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - path-params-test - list3" }, "patch": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list3", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list3" } }, "application/yang-data+json": { "schema": { "properties": { "path-params-test:list3": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list3", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - path-params-test - 123 - list3" } }, "/rests/data/nodes/node=123/yang-ext:mount/definition-test:union-container": { "get": { "tags": [ "123 definition-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "union-container": { "$ref": "#/components/schemas/definition-test_union-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_union-container" } } } } }, "description": "", "summary": "GET - 123 - definition-test - union-container" }, "put": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "union-container", "content": { "application/json": { "schema": { "properties": { "definition-test:union-container": { "$ref": "#/components/schemas/definition-test_union-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_union-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - definition-test - 123 - union-container" }, "delete": { "tags": [ "123 definition-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - definition-test - union-container" }, "patch": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "union-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/definition-test_union-container" } }, "application/yang-data+json": { "schema": { "properties": { "definition-test:union-container": { "$ref": "#/components/schemas/definition-test_union-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - definition-test - 123 - union-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/strings-from-regex:test": { "get": { "tags": [ "123 strings-from-regex" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "test": { "$ref": "#/components/schemas/strings-from-regex_test", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/strings-from-regex_test" } } } } }, "description": "", "summary": "GET - 123 - strings-from-regex - test" }, "put": { "tags": [ "123 strings-from-regex" ], "parameters": [], "requestBody": { "description": "test", "content": { "application/json": { "schema": { "properties": { "strings-from-regex:test": { "$ref": "#/components/schemas/strings-from-regex_test", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/strings-from-regex_test" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - strings-from-regex - 123 - test" }, "delete": { "tags": [ "123 strings-from-regex" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - strings-from-regex - test" }, "patch": { "tags": [ "123 strings-from-regex" ], "parameters": [], "requestBody": { "description": "test", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/strings-from-regex_test" } }, "application/yang-data+json": { "schema": { "properties": { "strings-from-regex:test": { "$ref": "#/components/schemas/strings-from-regex_test", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - strings-from-regex - 123 - test" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "root-container": { "$ref": "#/components/schemas/test-container-childs_root-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - root-container" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "root-container", "content": { "application/json": { "schema": { "properties": { "test-container-childs:root-container": { "$ref": "#/components/schemas/test-container-childs_root-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - root-container" }, "post": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container", "content": { "application/json": { "schema": { "properties": { "nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - test-container-childs - root-container" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - root-container" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "root-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:root-container": { "$ref": "#/components/schemas/test-container-childs_root-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - root-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list1={name}": { "get": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "list1": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1" } } } } }, "description": "", "summary": "GET - 123 - path-params-test - list1" }, "put": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list1", "content": { "application/json": { "schema": { "properties": { "path-params-test:list1": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - path-params-test - 123 - list1" }, "delete": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - path-params-test - list1" }, "patch": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list1", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1" } }, "application/yang-data+json": { "schema": { "properties": { "path-params-test:list1": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - path-params-test - 123 - list1" } }, "/rests/data/nodes/node=123/yang-ext:mount/action-types:multi-container/inner-container": { "get": { "tags": [ "123 action-types" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "inner-container": { "$ref": "#/components/schemas/action-types_multi-container_inner-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_multi-container_inner-container" } } } } }, "description": "", "summary": "GET - 123 - action-types - inner-container" }, "put": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "inner-container", "content": { "application/json": { "schema": { "properties": { "action-types:inner-container": { "$ref": "#/components/schemas/action-types_multi-container_inner-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_multi-container_inner-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - action-types - 123 - inner-container" }, "delete": { "tags": [ "123 action-types" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - action-types - inner-container" }, "patch": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "inner-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/action-types_multi-container_inner-container" } }, "application/yang-data+json": { "schema": { "properties": { "action-types:inner-container": { "$ref": "#/components/schemas/action-types_multi-container_inner-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - action-types - 123 - inner-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-mandatory-list={id}": { "get": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "root-mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-mandatory-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-mandatory-list" } } } } }, "description": "", "summary": "GET - 123 - mandatory-test - root-mandatory-list" }, "put": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "root-mandatory-list", "content": { "application/json": { "schema": { "properties": { "mandatory-test:root-mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-mandatory-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-mandatory-list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - mandatory-test - 123 - root-mandatory-list" }, "delete": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - mandatory-test - root-mandatory-list" }, "patch": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "root-mandatory-list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-mandatory-list" } }, "application/yang-data+json": { "schema": { "properties": { "mandatory-test:root-mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-mandatory-list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - mandatory-test - 123 - root-mandatory-list" } }, "/rests/data/nodes/node=123/yang-ext:mount/string-types:test": { "get": { "tags": [ "123 string-types" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "test": { "$ref": "#/components/schemas/string-types_test", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/string-types_test" } } } } }, "description": "Tests various combinations of regex expressions found in snmp yang models,\nwhich are causing problems because of isBasicLatin expression.\n\nAccording to https://unicode.org/charts/PDF/U0000.pdf basic latin characters are in range\n0x00-0x7F ([\\x00-\\xFF] or [\\u0000-\\u00FF]). This means it should be safe to replace isBasicLatin\nin regex expressions for characters in this range.", "summary": "GET - 123 - string-types - test" }, "put": { "tags": [ "123 string-types" ], "parameters": [], "requestBody": { "description": "test", "content": { "application/json": { "schema": { "properties": { "string-types:test": { "$ref": "#/components/schemas/string-types_test", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/string-types_test" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "Tests various combinations of regex expressions found in snmp yang models,\nwhich are causing problems because of isBasicLatin expression.\n\nAccording to https://unicode.org/charts/PDF/U0000.pdf basic latin characters are in range\n0x00-0x7F ([\\x00-\\xFF] or [\\u0000-\\u00FF]). This means it should be safe to replace isBasicLatin\nin regex expressions for characters in this range.", "summary": "PUT - string-types - 123 - test" }, "delete": { "tags": [ "123 string-types" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "Tests various combinations of regex expressions found in snmp yang models,\nwhich are causing problems because of isBasicLatin expression.\n\nAccording to https://unicode.org/charts/PDF/U0000.pdf basic latin characters are in range\n0x00-0x7F ([\\x00-\\xFF] or [\\u0000-\\u00FF]). This means it should be safe to replace isBasicLatin\nin regex expressions for characters in this range.", "summary": "DELETE - 123 - string-types - test" }, "patch": { "tags": [ "123 string-types" ], "parameters": [], "requestBody": { "description": "test", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/string-types_test" } }, "application/yang-data+json": { "schema": { "properties": { "string-types:test": { "$ref": "#/components/schemas/string-types_test", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "Tests various combinations of regex expressions found in snmp yang models,\nwhich are causing problems because of isBasicLatin expression.\n\nAccording to https://unicode.org/charts/PDF/U0000.pdf basic latin characters are in range\n0x00-0x7F ([\\x00-\\xFF] or [\\u0000-\\u00FF]). This means it should be safe to replace isBasicLatin\nin regex expressions for characters in this range.", "summary": "PATCH - string-types - 123 - test" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container-unique": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "root-container-unique": { "$ref": "#/components/schemas/test-container-childs_root-container-unique", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - root-container-unique" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "root-container-unique", "content": { "application/json": { "schema": { "properties": { "test-container-childs:root-container-unique": { "$ref": "#/components/schemas/test-container-childs_root-container-unique", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - root-container-unique" }, "post": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container-unique", "content": { "application/json": { "schema": { "properties": { "nested-container-unique": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - test-container-childs - root-container-unique" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - root-container-unique" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "root-container-unique", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:root-container-unique": { "$ref": "#/components/schemas/test-container-childs_root-container-unique", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - root-container-unique" } }, "/rests/data/nodes/node=123/yang-ext:mount/definition-test:number-container": { "get": { "tags": [ "123 definition-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "number-container": { "$ref": "#/components/schemas/definition-test_number-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_number-container" } } } } }, "description": "", "summary": "GET - 123 - definition-test - number-container" }, "put": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "number-container", "content": { "application/json": { "schema": { "properties": { "definition-test:number-container": { "$ref": "#/components/schemas/definition-test_number-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_number-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - definition-test - 123 - number-container" }, "delete": { "tags": [ "123 definition-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - definition-test - number-container" }, "patch": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "number-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/definition-test_number-container" } }, "application/yang-data+json": { "schema": { "properties": { "definition-test:number-container": { "$ref": "#/components/schemas/definition-test_number-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - definition-test - 123 - number-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/empty={empty-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "empty-key", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "empty": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_empty", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_empty" } } } } }, "description": "", "summary": "GET - 123 - typed-params - empty" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "empty-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "empty", "content": { "application/json": { "schema": { "properties": { "typed-params:empty": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_empty", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_empty" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - empty" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "empty-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - empty" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "empty-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "empty", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_empty" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:empty": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_empty", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - empty" } }, "/rests/data/nodes/node=123/yang-ext:mount/definition-test:enum-container": { "get": { "tags": [ "123 definition-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "enum-container": { "$ref": "#/components/schemas/definition-test_enum-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_enum-container" } } } } }, "description": "", "summary": "GET - 123 - definition-test - enum-container" }, "put": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "enum-container", "content": { "application/json": { "schema": { "properties": { "definition-test:enum-container": { "$ref": "#/components/schemas/definition-test_enum-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_enum-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - definition-test - 123 - enum-container" }, "delete": { "tags": [ "123 definition-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - definition-test - enum-container" }, "patch": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "enum-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/definition-test_enum-container" } }, "application/yang-data+json": { "schema": { "properties": { "definition-test:enum-container": { "$ref": "#/components/schemas/definition-test_enum-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - definition-test - 123 - enum-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/my-yang:data": { "get": { "tags": [ "123 my-yang" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "data": { "$ref": "#/components/schemas/my-yang_data", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/my-yang_data" } } } } }, "description": "", "summary": "GET - 123 - my-yang - data" }, "put": { "tags": [ "123 my-yang" ], "parameters": [], "requestBody": { "description": "data", "content": { "application/json": { "schema": { "properties": { "my-yang:data": { "$ref": "#/components/schemas/my-yang_data", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/my-yang_data" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - my-yang - 123 - data" }, "delete": { "tags": [ "123 my-yang" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - my-yang - data" }, "patch": { "tags": [ "123 my-yang" ], "parameters": [], "requestBody": { "description": "data", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/my-yang_data" } }, "application/yang-data+json": { "schema": { "properties": { "my-yang:data": { "$ref": "#/components/schemas/my-yang_data", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - my-yang - 123 - data" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/instance-identifier={instance-identifier-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "instance-identifier-key", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "instance-identifier": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_instance-identifier", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_instance-identifier" } } } } }, "description": "", "summary": "GET - 123 - typed-params - instance-identifier" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "instance-identifier-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "instance-identifier", "content": { "application/json": { "schema": { "properties": { "typed-params:instance-identifier": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_instance-identifier", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_instance-identifier" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - instance-identifier" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "instance-identifier-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - instance-identifier" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "instance-identifier-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "instance-identifier", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_instance-identifier" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:instance-identifier": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_instance-identifier", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - instance-identifier" } }, "/rests/operations/nodes/node=123/yang-ext:mount/action-types:multi-container/inner-container/action": { "post": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "action_input", "content": { "application/json": { "schema": { "properties": { "input": { "type": "object" } }, "type": "object" } }, "application/xml": { "schema": { "xml": { "name": "input", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "type": "object" } } } }, "responses": { "204": { "description": "RPC action success" } }, "description": "", "summary": "POST - 123 - action-types - action" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/int32={int32-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int32-key", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "int32": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int32", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int32" } } } } }, "description": "", "summary": "GET - 123 - typed-params - int32" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int32-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "int32", "content": { "application/json": { "schema": { "properties": { "typed-params:int32": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int32", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int32" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - int32" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int32-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - int32" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "int32-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "int32", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_int32" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:int32": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int32", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - int32" } }, "/rests/data/nodes/node=123/yang-ext:mount": { "get": { "tags": [ "123 GET root" ], "responses": { "200": { "description": "OK" } }, "description": "Queries the config (startup) datastore on the mounted hosted.", "summary": "GET - 123 - datastore - data" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container/nested-container": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - nested-container" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container", "content": { "application/json": { "schema": { "properties": { "test-container-childs:nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - nested-container" }, "post": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "mandatory-list", "content": { "application/json": { "schema": { "properties": { "mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - test-container-childs - nested-container" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - nested-container" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - nested-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/bits={bits-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "bits-key", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "bits": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_bits", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_bits" } } } } }, "description": "", "summary": "GET - 123 - typed-params - bits" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "bits-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "bits", "content": { "application/json": { "schema": { "properties": { "typed-params:bits": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_bits", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_bits" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - bits" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "bits-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - bits" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "bits-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "bits", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_bits" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:bits": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_bits", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - bits" } }, "/rests/data/nodes/node=123/yang-ext:mount/recursive:container-root/root-list={name}/nested-list={name1}": { "get": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "nested-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list" } } } } }, "description": "", "summary": "GET - 123 - recursive - nested-list" }, "put": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "nested-list", "content": { "application/json": { "schema": { "properties": { "recursive:nested-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - recursive - 123 - nested-list" }, "delete": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - recursive - nested-list" }, "patch": { "tags": [ "123 recursive" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "nested-list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list" } }, "application/yang-data+json": { "schema": { "properties": { "recursive:nested-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - recursive - 123 - nested-list" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container-two-keys/nested-container-two-keys/mandatory-list-two-keys={id},{name}/list-nested-container": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "list-nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - list-nested-container" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list-nested-container", "content": { "application/json": { "schema": { "properties": { "test-container-childs:list-nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - list-nested-container" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - list-nested-container" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list-nested-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:list-nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - list-nested-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/toaster2:lst={lf1}/cont1/lst11={lf111}": { "get": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "lf111", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "lst11": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst_cont1_lst11", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1_lst11" } } } } }, "description": "", "summary": "GET - 123 - toaster2 - lst11" }, "put": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "lf111", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "lst11", "content": { "application/json": { "schema": { "properties": { "toaster2:lst11": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst_cont1_lst11", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1_lst11" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - toaster2 - 123 - lst11" }, "delete": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "lf111", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - toaster2 - lst11" }, "patch": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "lf111", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "lst11", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1_lst11" } }, "application/yang-data+json": { "schema": { "properties": { "toaster2:lst11": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst_cont1_lst11", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - toaster2 - 123 - lst11" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/string={string-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "string-key", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "string": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_string", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_string" } } } } }, "description": "", "summary": "GET - 123 - typed-params - string" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "string-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "string", "content": { "application/json": { "schema": { "properties": { "typed-params:string": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_string", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_string" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - string" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "string-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - string" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "string-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "string", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_string" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:string": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_string", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - string" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/uint16={uint16-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint16-key", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "uint16": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint16", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint16" } } } } }, "description": "", "summary": "GET - 123 - typed-params - uint16" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint16-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "uint16", "content": { "application/json": { "schema": { "properties": { "typed-params:uint16": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint16", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint16" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - uint16" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint16-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - uint16" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "uint16-key", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "uint16", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_uint16" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:uint16": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint16", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - uint16" } }, "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container/optional-list={id}": { "get": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "optional-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-list" } } } } }, "description": "", "summary": "GET - 123 - mandatory-test - optional-list" }, "put": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "optional-list", "content": { "application/json": { "schema": { "properties": { "mandatory-test:optional-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - mandatory-test - 123 - optional-list" }, "delete": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - mandatory-test - optional-list" }, "patch": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "optional-list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-list" } }, "application/yang-data+json": { "schema": { "properties": { "mandatory-test:optional-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - mandatory-test - 123 - optional-list" } }, "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container/mandatory-list={id}": { "get": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list" } } } } }, "description": "", "summary": "GET - 123 - mandatory-test - mandatory-list" }, "put": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "mandatory-list", "content": { "application/json": { "schema": { "properties": { "mandatory-test:mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - mandatory-test - 123 - mandatory-list" }, "delete": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - mandatory-test - mandatory-list" }, "patch": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "mandatory-list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list" } }, "application/yang-data+json": { "schema": { "properties": { "mandatory-test:mandatory-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - mandatory-test - 123 - mandatory-list" } }, "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container/optional-presence-container": { "get": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "optional-presence-container": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container" } } } } }, "description": "", "summary": "GET - 123 - mandatory-test - optional-presence-container" }, "put": { "tags": [ "123 mandatory-test" ], "parameters": [], "requestBody": { "description": "optional-presence-container", "content": { "application/json": { "schema": { "properties": { "mandatory-test:optional-presence-container": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - mandatory-test - 123 - optional-presence-container" }, "delete": { "tags": [ "123 mandatory-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - mandatory-test - optional-presence-container" }, "patch": { "tags": [ "123 mandatory-test" ], "parameters": [], "requestBody": { "description": "optional-presence-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container" } }, "application/yang-data+json": { "schema": { "properties": { "mandatory-test:optional-presence-container": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - mandatory-test - 123 - optional-presence-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/toaster2:lst={lf1}/cont1": { "get": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "cont1": { "$ref": "#/components/schemas/toaster2_lst_cont1", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1" } } } } }, "description": "", "summary": "GET - 123 - toaster2 - cont1" }, "put": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "cont1", "content": { "application/json": { "schema": { "properties": { "toaster2:cont1": { "$ref": "#/components/schemas/toaster2_lst_cont1", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - toaster2 - 123 - cont1" }, "post": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "cont11", "content": { "application/json": { "schema": { "properties": { "cont11": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - toaster2 - cont1" }, "delete": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - toaster2 - cont1" }, "patch": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "cont1", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1" } }, "application/yang-data+json": { "schema": { "properties": { "toaster2:cont1": { "$ref": "#/components/schemas/toaster2_lst_cont1", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - toaster2 - 123 - cont1" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/union={union-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "union-key", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "union": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_union", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_union" } } } } }, "description": "", "summary": "GET - 123 - typed-params - union" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "union-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "union", "content": { "application/json": { "schema": { "properties": { "typed-params:union": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_union", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_union" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - union" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "union-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - union" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "union-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "union", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_union" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:union": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_union", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - union" } }, "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list1={name}/cont2": { "get": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "cont2": { "$ref": "#/components/schemas/path-params-test_cont_list1_cont2", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_cont2" } } } } }, "description": "", "summary": "GET - 123 - path-params-test - cont2" }, "put": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "cont2", "content": { "application/json": { "schema": { "properties": { "path-params-test:cont2": { "$ref": "#/components/schemas/path-params-test_cont_list1_cont2", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_cont2" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - path-params-test - 123 - cont2" }, "delete": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - path-params-test - cont2" }, "patch": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "cont2", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_cont2" } }, "application/yang-data+json": { "schema": { "properties": { "path-params-test:cont2": { "$ref": "#/components/schemas/path-params-test_cont_list1_cont2", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - path-params-test - 123 - cont2" } }, "/rests/data/nodes/node=123/yang-ext:mount/definition-test:network-container": { "get": { "tags": [ "123 definition-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "network-container": { "$ref": "#/components/schemas/definition-test_network-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_network-container" } } } } }, "description": "", "summary": "GET - 123 - definition-test - network-container" }, "put": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "network-container", "content": { "application/json": { "schema": { "properties": { "definition-test:network-container": { "$ref": "#/components/schemas/definition-test_network-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_network-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - definition-test - 123 - network-container" }, "delete": { "tags": [ "123 definition-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - definition-test - network-container" }, "patch": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "network-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/definition-test_network-container" } }, "application/yang-data+json": { "schema": { "properties": { "definition-test:network-container": { "$ref": "#/components/schemas/definition-test_network-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - definition-test - 123 - network-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container-two-keys": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "root-container-two-keys": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - root-container-two-keys" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "root-container-two-keys", "content": { "application/json": { "schema": { "properties": { "test-container-childs:root-container-two-keys": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - root-container-two-keys" }, "post": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "nested-container-two-keys", "content": { "application/json": { "schema": { "properties": { "nested-container-two-keys": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - test-container-childs - root-container-two-keys" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - root-container-two-keys" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [], "requestBody": { "description": "root-container-two-keys", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:root-container-two-keys": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - root-container-two-keys" } }, "/rests/operations/nodes/node=123/yang-ext:mount/toaster:cancel-toast": { "post": { "tags": [ "123 toaster" ], "parameters": [], "requestBody": { "description": "cancel-toast_input", "content": { "application/json": { "schema": { "properties": { "input": { "type": "object" } }, "type": "object" } }, "application/xml": { "schema": { "xml": { "name": "input", "namespace": "http://netconfcentral.org/ns/toaster" }, "type": "object" } } } }, "responses": { "204": { "description": "RPC cancel-toast success" } }, "description": "Stop making toast, if any is being made.\n A 'resource-denied' error will be returned\n if the toaster service is disabled.", "summary": "POST - 123 - toaster - cancel-toast" } }, "/rests/data/nodes/node=123/yang-ext:mount/typed-params:typed/binary={binary-key}": { "get": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "binary-key", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "binary": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_binary", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_binary" } } } } }, "description": "", "summary": "GET - 123 - typed-params - binary" }, "put": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "binary-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "binary", "content": { "application/json": { "schema": { "properties": { "typed-params:binary": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_binary", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_binary" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - typed-params - 123 - binary" }, "delete": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "binary-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - typed-params - binary" }, "patch": { "tags": [ "123 typed-params" ], "parameters": [ { "name": "binary-key", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "binary", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/typed-params_typed_binary" } }, "application/yang-data+json": { "schema": { "properties": { "typed-params:binary": { "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_binary", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - typed-params - 123 - binary" } }, "/rests/data/nodes/node=123/yang-ext:mount/toaster2:lst={lf1}": { "get": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "lst": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst" } } } } }, "description": "", "summary": "GET - 123 - toaster2 - lst" }, "put": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "lst", "content": { "application/json": { "schema": { "properties": { "toaster2:lst": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - toaster2 - 123 - lst" }, "delete": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - toaster2 - lst" }, "patch": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "lst", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst" } }, "application/yang-data+json": { "schema": { "properties": { "toaster2:lst": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - toaster2 - 123 - lst" } }, "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-container/mandatory-container": { "get": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "mandatory-container": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container" } } } } }, "description": "", "summary": "GET - 123 - mandatory-test - mandatory-container" }, "put": { "tags": [ "123 mandatory-test" ], "parameters": [], "requestBody": { "description": "mandatory-container", "content": { "application/json": { "schema": { "properties": { "mandatory-test:mandatory-container": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - mandatory-test - 123 - mandatory-container" }, "delete": { "tags": [ "123 mandatory-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - mandatory-test - mandatory-container" }, "patch": { "tags": [ "123 mandatory-test" ], "parameters": [], "requestBody": { "description": "mandatory-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container" } }, "application/yang-data+json": { "schema": { "properties": { "mandatory-test:mandatory-container": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - mandatory-test - 123 - mandatory-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/toaster2:lst={lf1}/cont1/cont11": { "get": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "cont11": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11" } } } } }, "description": "", "summary": "GET - 123 - toaster2 - cont11" }, "put": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "cont11", "content": { "application/json": { "schema": { "properties": { "toaster2:cont11": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - toaster2 - 123 - cont11" }, "delete": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - toaster2 - cont11" }, "patch": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "lf1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "cont11", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11" } }, "application/yang-data+json": { "schema": { "properties": { "toaster2:cont11": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - toaster2 - 123 - cont11" } }, "/rests/operations/nodes/node=123/yang-ext:mount/action-types:list={name}/list-action": { "post": { "tags": [ "123 action-types" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list-action_input", "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/action-types_list_list-action_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_list_list-action_input" } } } }, "responses": { "200": { "description": "RPC list-action success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/action-types_list_list-action_output" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_list_list-action_output" } } } } }, "description": "", "summary": "POST - 123 - action-types - list-action" } }, "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list1={name}/list2={name1}": { "get": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "list2": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1_list2", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_list2" } } } } }, "description": "", "summary": "GET - 123 - path-params-test - list2" }, "put": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list2", "content": { "application/json": { "schema": { "properties": { "path-params-test:list2": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1_list2", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_list2" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - path-params-test - 123 - list2" }, "delete": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - path-params-test - list2" }, "patch": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list2", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_list2" } }, "application/yang-data+json": { "schema": { "properties": { "path-params-test:list2": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1_list2", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - path-params-test - 123 - list2" } }, "/rests/operations/nodes/node=123/yang-ext:mount/toaster:make-toast": { "post": { "tags": [ "123 toaster" ], "parameters": [], "requestBody": { "description": "make-toast_input", "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/toaster_make-toast_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster_make-toast_input" } } } }, "responses": { "204": { "description": "RPC make-toast success" } }, "description": "Make some toast.\n The toastDone notification will be sent when\n the toast is finished.\n An 'in-use' error will be returned if toast\n is already being made.\n A 'resource-denied' error will be returned\n if the toaster service is disabled.", "summary": "POST - 123 - toaster - make-toast" } }, "/rests/data/nodes/node=123/yang-ext:mount/action-types:list={name}": { "get": { "tags": [ "123 action-types" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "list": { "type": "array", "items": { "$ref": "#/components/schemas/action-types_list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_list" } } } } }, "description": "", "summary": "GET - 123 - action-types - list" }, "put": { "tags": [ "123 action-types" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list", "content": { "application/json": { "schema": { "properties": { "action-types:list": { "type": "array", "items": { "$ref": "#/components/schemas/action-types_list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - action-types - 123 - list" }, "delete": { "tags": [ "123 action-types" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - action-types - list" }, "patch": { "tags": [ "123 action-types" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/action-types_list" } }, "application/yang-data+json": { "schema": { "properties": { "action-types:list": { "type": "array", "items": { "$ref": "#/components/schemas/action-types_list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - action-types - 123 - list" } }, "/rests/data/nodes/node=123/yang-ext:mount/definition-test:binary-container": { "get": { "tags": [ "123 definition-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "binary-container": { "$ref": "#/components/schemas/definition-test_binary-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_binary-container" } } } } }, "description": "", "summary": "GET - 123 - definition-test - binary-container" }, "put": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "binary-container", "content": { "application/json": { "schema": { "properties": { "definition-test:binary-container": { "$ref": "#/components/schemas/definition-test_binary-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/definition-test_binary-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - definition-test - 123 - binary-container" }, "delete": { "tags": [ "123 definition-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - definition-test - binary-container" }, "patch": { "tags": [ "123 definition-test" ], "parameters": [], "requestBody": { "description": "binary-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/definition-test_binary-container" } }, "application/yang-data+json": { "schema": { "properties": { "definition-test:binary-container": { "$ref": "#/components/schemas/definition-test_binary-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - definition-test - 123 - binary-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/choice-test:first-container": { "get": { "tags": [ "123 choice-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "first-container": { "$ref": "#/components/schemas/choice-test_first-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/choice-test_first-container" } } } } }, "description": "", "summary": "GET - 123 - choice-test - first-container" }, "put": { "tags": [ "123 choice-test" ], "parameters": [], "requestBody": { "description": "first-container", "content": { "application/json": { "schema": { "properties": { "choice-test:first-container": { "$ref": "#/components/schemas/choice-test_first-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/choice-test_first-container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - choice-test - 123 - first-container" }, "delete": { "tags": [ "123 choice-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - choice-test - first-container" }, "patch": { "tags": [ "123 choice-test" ], "parameters": [], "requestBody": { "description": "first-container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/choice-test_first-container" } }, "application/yang-data+json": { "schema": { "properties": { "choice-test:first-container": { "$ref": "#/components/schemas/choice-test_first-container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - choice-test - 123 - first-container" } }, "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont/list1={name}/list4={name1}": { "get": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "list4": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1_list4", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_list4" } } } } }, "description": "", "summary": "GET - 123 - path-params-test - list4" }, "put": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list4", "content": { "application/json": { "schema": { "properties": { "path-params-test:list4": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1_list4", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_list4" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - path-params-test - 123 - list4" }, "delete": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - path-params-test - list4" }, "patch": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name1", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "list4", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1_list4" } }, "application/yang-data+json": { "schema": { "properties": { "path-params-test:list4": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1_list4", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - path-params-test - 123 - list4" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container-unique/nested-container-unique/mandatory-list-unique={id}": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "mandatory-list-unique": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - mandatory-list-unique" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "mandatory-list-unique", "content": { "application/json": { "schema": { "properties": { "test-container-childs:mandatory-list-unique": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - mandatory-list-unique" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - mandatory-list-unique" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "mandatory-list-unique", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:mandatory-list-unique": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - mandatory-list-unique" } }, "/rests/operations/nodes/node=123/yang-ext:mount/toaster2:make-toast": { "post": { "tags": [ "123 toaster2" ], "parameters": [], "requestBody": { "description": "make-toast_input", "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/toaster2_make-toast_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_make-toast_input" } } } }, "responses": { "204": { "description": "RPC make-toast success" } }, "description": "Make some toast.\n The toastDone notification will be sent when\n the toast is finished.\n An 'in-use' error will be returned if toast\n is already being made.\n A 'resource-denied' error will be returned\n if the toaster service is disabled.", "summary": "POST - 123 - toaster2 - make-toast" } }, "/rests/data/nodes/node=123/yang-ext:mount/mandatory-test:root-optional-list={id}": { "get": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "root-optional-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-optional-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-optional-list" } } } } }, "description": "", "summary": "GET - 123 - mandatory-test - root-optional-list" }, "put": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "root-optional-list", "content": { "application/json": { "schema": { "properties": { "mandatory-test:root-optional-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-optional-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-optional-list" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - mandatory-test - 123 - root-optional-list" }, "delete": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - mandatory-test - root-optional-list" }, "patch": { "tags": [ "123 mandatory-test" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "requestBody": { "description": "root-optional-list", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/mandatory-test_root-optional-list" } }, "application/yang-data+json": { "schema": { "properties": { "mandatory-test:root-optional-list": { "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-optional-list", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - mandatory-test - 123 - root-optional-list" } }, "/rests/data/nodes/node=123/yang-ext:mount/path-params-test:cont": { "get": { "tags": [ "123 path-params-test" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "cont": { "$ref": "#/components/schemas/path-params-test_cont", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont" } } } } }, "description": "", "summary": "GET - 123 - path-params-test - cont" }, "put": { "tags": [ "123 path-params-test" ], "parameters": [], "requestBody": { "description": "cont", "content": { "application/json": { "schema": { "properties": { "path-params-test:cont": { "$ref": "#/components/schemas/path-params-test_cont", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - path-params-test - 123 - cont" }, "post": { "tags": [ "123 path-params-test" ], "parameters": [], "requestBody": { "description": "list1", "content": { "application/json": { "schema": { "properties": { "list1": { "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont_list1" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - path-params-test - cont" }, "delete": { "tags": [ "123 path-params-test" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - path-params-test - cont" }, "patch": { "tags": [ "123 path-params-test" ], "parameters": [], "requestBody": { "description": "cont", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/path-params-test_cont" } }, "application/yang-data+json": { "schema": { "properties": { "path-params-test:cont": { "$ref": "#/components/schemas/path-params-test_cont", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - path-params-test - 123 - cont" } }, "/rests/operations/nodes/node=123/yang-ext:mount/toaster2:cancel-toast": { "post": { "tags": [ "123 toaster2" ], "parameters": [], "requestBody": { "description": "cancel-toast_input", "content": { "application/json": { "schema": { "properties": { "input": { "type": "object" } }, "type": "object" } }, "application/xml": { "schema": { "xml": { "name": "input", "namespace": "http://netconfcentral.org/ns/toaster2" }, "type": "object" } } } }, "responses": { "204": { "description": "RPC cancel-toast success" } }, "description": "Stop making toast, if any is being made.\n A 'resource-denied' error will be returned\n if the toaster service is disabled.", "summary": "POST - 123 - toaster2 - cancel-toast" } }, "/rests/data/nodes/node=123/yang-ext:mount/test-container-childs:root-container-two-keys/nested-container-two-keys/mandatory-list-two-keys={id},{name}": { "get": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "mandatory-list-two-keys": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys" } } } } }, "description": "", "summary": "GET - 123 - test-container-childs - mandatory-list-two-keys" }, "put": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "mandatory-list-two-keys", "content": { "application/json": { "schema": { "properties": { "test-container-childs:mandatory-list-two-keys": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - test-container-childs - 123 - mandatory-list-two-keys" }, "delete": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - test-container-childs - mandatory-list-two-keys" }, "patch": { "tags": [ "123 test-container-childs" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "description": "mandatory-list-two-keys", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys" } }, "application/yang-data+json": { "schema": { "properties": { "test-container-childs:mandatory-list-two-keys": { "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys", "type": "object" } } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - test-container-childs - 123 - mandatory-list-two-keys" } }, "/rests/data/nodes/node=123/yang-ext:mount/toaster2:toaster": { "get": { "tags": [ "123 toaster2" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "toaster": { "$ref": "#/components/schemas/toaster2_toaster", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster" } } } } }, "description": "Top-level container for all toaster database objects.", "summary": "GET - 123 - toaster2 - toaster" }, "put": { "tags": [ "123 toaster2" ], "parameters": [], "requestBody": { "description": "toaster", "content": { "application/json": { "schema": { "properties": { "toaster2:toaster": { "$ref": "#/components/schemas/toaster2_toaster", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "Top-level container for all toaster database objects.", "summary": "PUT - toaster2 - 123 - toaster" }, "post": { "tags": [ "123 toaster2" ], "parameters": [], "requestBody": { "description": "toasterSlot", "content": { "application/json": { "schema": { "properties": { "toasterSlot": { "type": "array", "items": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot" } } } }, "responses": { "201": { "description": "Created" } }, "description": "Top-level container for all toaster database objects.\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", "summary": "POST - 123 - toaster2 - toaster" }, "delete": { "tags": [ "123 toaster2" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "Top-level container for all toaster database objects.", "summary": "DELETE - 123 - toaster2 - toaster" }, "patch": { "tags": [ "123 toaster2" ], "parameters": [], "requestBody": { "description": "toaster", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/toaster2_toaster" } }, "application/yang-data+json": { "schema": { "properties": { "toaster2:toaster": { "$ref": "#/components/schemas/toaster2_toaster", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "Top-level container for all toaster database objects.", "summary": "PATCH - toaster2 - 123 - toaster" } }, "/rests/data/nodes/node=123/yang-ext:mount/recursive:container-root": { "get": { "tags": [ "123 recursive" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "container-root": { "$ref": "#/components/schemas/recursive_container-root", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root" } } } } }, "description": "", "summary": "GET - 123 - recursive - container-root" }, "put": { "tags": [ "123 recursive" ], "parameters": [], "requestBody": { "description": "container-root", "content": { "application/json": { "schema": { "properties": { "recursive:container-root": { "$ref": "#/components/schemas/recursive_container-root", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - recursive - 123 - container-root" }, "post": { "tags": [ "123 recursive" ], "parameters": [], "requestBody": { "description": "root-list", "content": { "application/json": { "schema": { "properties": { "root-list": { "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list", "type": "object" } } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root_root-list" } } } }, "responses": { "201": { "description": "Created" } }, "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", "summary": "POST - 123 - recursive - container-root" }, "delete": { "tags": [ "123 recursive" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - recursive - container-root" }, "patch": { "tags": [ "123 recursive" ], "parameters": [], "requestBody": { "description": "container-root", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/recursive_container-root" } }, "application/yang-data+json": { "schema": { "properties": { "recursive:container-root": { "$ref": "#/components/schemas/recursive_container-root", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - recursive - 123 - container-root" } }, "/rests/data/nodes/node=123/yang-ext:mount/action-types:container": { "get": { "tags": [ "123 action-types" ], "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "schema": { "properties": { "container": { "$ref": "#/components/schemas/action-types_container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_container" } } } } }, "description": "", "summary": "GET - 123 - action-types - container" }, "put": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "container", "content": { "application/json": { "schema": { "properties": { "action-types:container": { "$ref": "#/components/schemas/action-types_container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_container" } } } }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "description": "", "summary": "PUT - action-types - 123 - container" }, "delete": { "tags": [ "123 action-types" ], "parameters": [], "responses": { "204": { "description": "Deleted" } }, "description": "", "summary": "DELETE - 123 - action-types - container" }, "patch": { "tags": [ "123 action-types" ], "parameters": [], "requestBody": { "description": "container", "content": { "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/action-types_container" } }, "application/yang-data+json": { "schema": { "properties": { "action-types:container": { "$ref": "#/components/schemas/action-types_container", "type": "object" } } } } } }, "responses": { "204": { "description": "Updated" }, "200": { "description": "OK" } }, "description": "", "summary": "PATCH - action-types - 123 - container" } }, "/rests/data/nodes/node=123/yang-ext:mount/action-types:first-container": { "delete": { "description": "", "parameters": [], "responses": { "204": { "description": "Deleted" } }, "summary": "DELETE - 123 - action-types - first-container", "tags": [ "123 action-types" ] }, "get": { "description": "", "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "first-container": { "$ref": "#/components/schemas/action-types_first-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container" } } }, "description": "200" } }, "summary": "GET - 123 - action-types - first-container", "tags": [ "123 action-types" ] }, "patch": { "description": "", "parameters": [], "requestBody": { "content": { "application/yang-data+json": { "schema": { "properties": { "action-types:first-container": { "$ref": "#/components/schemas/action-types_first-container", "type": "object" } } } }, "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container" } } }, "description": "first-container" }, "responses": { "200": { "description": "OK" }, "204": { "description": "Updated" } }, "summary": "PATCH - action-types - 123 - first-container", "tags": [ "123 action-types" ] }, "post": { "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", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "properties": { "second-container": { "$ref": "#/components/schemas/action-types_first-container_second-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container" } } }, "description": "second-container" }, "responses": { "201": { "description": "Created" } }, "summary": "POST - 123 - action-types - first-container", "tags": [ "123 action-types" ] }, "put": { "description": "", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "properties": { "action-types:first-container": { "$ref": "#/components/schemas/action-types_first-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container" } } }, "description": "first-container" }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "summary": "PUT - action-types - 123 - first-container", "tags": [ "123 action-types" ] } }, "/rests/data/nodes/node=123/yang-ext:mount/action-types:first-container/second-container": { "delete": { "description": "", "parameters": [], "responses": { "204": { "description": "Deleted" } }, "summary": "DELETE - 123 - action-types - second-container", "tags": [ "123 action-types" ] }, "get": { "description": "", "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "second-container": { "$ref": "#/components/schemas/action-types_first-container_second-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container" } } }, "description": "200" } }, "summary": "GET - 123 - action-types - second-container", "tags": [ "123 action-types" ] }, "patch": { "description": "", "parameters": [], "requestBody": { "content": { "application/yang-data+json": { "schema": { "properties": { "action-types:second-container": { "$ref": "#/components/schemas/action-types_first-container_second-container", "type": "object" } } } }, "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container" } } }, "description": "second-container" }, "responses": { "200": { "description": "OK" }, "204": { "description": "Updated" } }, "summary": "PATCH - action-types - 123 - second-container", "tags": [ "123 action-types" ] }, "post": { "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", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "properties": { "third-container": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container" } } }, "description": "third-container" }, "responses": { "201": { "description": "Created" } }, "summary": "POST - 123 - action-types - second-container", "tags": [ "123 action-types" ] }, "put": { "description": "", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "properties": { "action-types:second-container": { "$ref": "#/components/schemas/action-types_first-container_second-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container" } } }, "description": "second-container" }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "summary": "PUT - action-types - 123 - second-container", "tags": [ "123 action-types" ] } }, "/rests/data/nodes/node=123/yang-ext:mount/action-types:first-container/second-container/third-container": { "delete": { "description": "", "parameters": [], "responses": { "204": { "description": "Deleted" } }, "summary": "DELETE - 123 - action-types - third-container", "tags": [ "123 action-types" ] }, "get": { "description": "", "parameters": [ { "name": "content", "in": "query", "required": false, "schema": { "enum": [ "config", "nonconfig", "all" ], "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "third-container": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container" } } }, "description": "200" } }, "summary": "GET - 123 - action-types - third-container", "tags": [ "123 action-types" ] }, "patch": { "description": "", "parameters": [], "requestBody": { "content": { "application/yang-data+json": { "schema": { "properties": { "action-types:third-container": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container", "type": "object" } } } }, "application/yang-data+xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container" } } }, "description": "third-container" }, "responses": { "200": { "description": "OK" }, "204": { "description": "Updated" } }, "summary": "PATCH - action-types - 123 - third-container", "tags": [ "123 action-types" ] }, "put": { "description": "", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "properties": { "action-types:third-container": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container" } } }, "description": "third-container" }, "responses": { "201": { "description": "Created" }, "204": { "description": "Updated" } }, "summary": "PUT - action-types - 123 - third-container", "tags": [ "123 action-types" ] } }, "/rests/operations/nodes/node=123/yang-ext:mount/action-types:first-container/second-container/third-container/nested-action": { "post": { "description": "", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container_nested-action_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container_nested-action_input" } } }, "description": "nested-action_input" }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container_nested-action_output" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container_nested-action_output" } } }, "description": "RPC nested-action success" } }, "summary": "POST - 123 - action-types - nested-action", "tags": [ "123 action-types" ] } }, "/rests/operations/nodes/node=123/yang-ext:mount/duplication-test:test-rpc": { "post": { "description": "", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/duplication-test_test-rpc_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/duplication-test_test-rpc_input" } } }, "description": "test-rpc_input" }, "responses": { "204": { "description": "RPC test-rpc success" } }, "summary": "POST - 123 - duplication-test - test-rpc", "tags": [ "123 duplication-test" ] } }, "/rests/operations/nodes/node=123/yang-ext:mount/duplication-test:test-rpc2": { "post": { "description": "", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/duplication-test_test-rpc2_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/duplication-test_test-rpc2_input" } } }, "description": "test-rpc2_input" }, "responses": { "204": { "description": "RPC test-rpc2 success" } }, "summary": "POST - 123 - duplication-test - test-rpc2", "tags": [ "123 duplication-test" ] } }, "/rests/operations/nodes/node=123/yang-ext:mount/duplication-test:test-rpc3": { "post": { "description": "", "summary": "POST - 123 - duplication-test - test-rpc3", "requestBody": { "description": "test-rpc3_input", "content": { "application/json": { "schema": { "properties": { "input": { "$ref": "#/components/schemas/duplication-test_test-rpc3_input", "type": "object" } } } }, "application/xml": { "schema": { "$ref": "#/components/schemas/duplication-test_test-rpc3_input" } } } }, "responses": { "204": { "description": "RPC test-rpc3 success" } }, "tags": [ "123 duplication-test" ], "parameters": [] } } }, "components": { "schemas": { "toaster2_lst_cont1": { "properties": { "cont11": { "$ref": "#/components/schemas/toaster2_lst_cont1_cont11" }, "lst11": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst_cont1_lst11" } } }, "xml": { "name": "cont1", "namespace": "http://netconfcentral.org/ns/toaster2" }, "title": "toaster2_lst_cont1", "type": "object" }, "toaster2_make-toast_input": { "properties": { "toasterToastType": { "default": "wheat-bread", "enum": [ "toast-type", "wonder-bread", "frozen-bagel", "wheat-bread", "white-bread", "hash-brown", "frozen-waffle" ], "description": "This variable informs the toaster of the type of\n material that is being toasted. The toaster\n uses this information, combined with\n toasterDoneness, to compute for how\n long the material must be toasted to achieve\n the required doneness.", "type": "string", "example": "toast-type" }, "toasterDoneness": { "default": 5, "description": "This variable controls how well-done is the\n ensuing toast. It should be on a scale of 1 to 10.\n Toast made at 10 generally is considered unfit\n for human consumption; toast made at 1 is warmed\n lightly.", "type": "integer", "example": 1, "format": "int64" } }, "xml": { "name": "input", "namespace": "http://netconfcentral.org/ns/toaster2" }, "title": "toaster2_make-toast_input", "type": "object" }, "typed-params_typed_boolean": { "properties": { "boolean-key": { "description": "", "type": "boolean", "example": true }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "boolean", "namespace": "urn:typed-params" }, "title": "typed-params_typed_boolean", "type": "object" }, "typed-params_typed_instance-identifier": { "properties": { "instance-identifier-key": { "description": "", "type": "string", "example": "/tparams:typed" }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "instance-identifier", "namespace": "urn:typed-params" }, "title": "typed-params_typed_instance-identifier", "type": "object" }, "test-container-childs_root-container": { "properties": { "nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container" } }, "xml": { "name": "root-container", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container", "type": "object" }, "typed-params_typed_bits": { "properties": { "value": { "description": "", "type": "string", "example": "Some value" }, "bits-key": { "default": "UP UP", "enum": [ "UP" ], "description": "", "type": "string", "minItems": 0, "uniqueItems": true } }, "xml": { "name": "bits", "namespace": "urn:typed-params" }, "title": "typed-params_typed_bits", "type": "object" }, "recursive_container-root": { "properties": { "root-list": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list" } } }, "xml": { "name": "container-root", "namespace": "urn:opendaylight:test:recursive" }, "title": "recursive_container-root", "type": "object" }, "typed-params_typed": { "properties": { "uint16": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint16" } }, "binary": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_binary" } }, "empty": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_empty" } }, "enumeration": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_enumeration" } }, "uint8": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint8" } }, "decimal64": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_decimal64" } }, "boolean": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_boolean" } }, "int16": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int16" } }, "uint32": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint32" } }, "union": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_union" } }, "instance-identifier": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_instance-identifier" } }, "uint64": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_uint64" } }, "string": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_string" } }, "int32": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int32" } }, "int64": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int64" } }, "int8": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_int8" } }, "bits": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/typed-params_typed_bits" } } }, "xml": { "name": "typed", "namespace": "urn:typed-params" }, "title": "typed-params_typed", "type": "object" }, "action-types_container_container-action_output": { "required": [ "ca-output" ], "properties": { "ca-output": { "description": "", "type": "string", "example": "Some ca-output" } }, "xml": { "name": "output", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "title": "action-types_container_container-action_output", "type": "object" }, "typed-params_typed_uint32": { "properties": { "uint32-key": { "description": "", "type": "integer", "example": 0, "format": "int64" }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "uint32", "namespace": "urn:typed-params" }, "title": "typed-params_typed_uint32", "type": "object" }, "recursive_container-root_root-list_nested-list_super-nested-list": { "properties": { "name": { "description": "", "type": "string", "example": "Some name" } }, "xml": { "name": "super-nested-list", "namespace": "urn:opendaylight:test:recursive" }, "title": "recursive_container-root_root-list_nested-list_super-nested-list", "type": "object" }, "typed-params_typed_int16": { "properties": { "int16-key": { "description": "", "type": "integer", "example": -32768, "format": "int32" }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "int16", "namespace": "urn:typed-params" }, "title": "typed-params_typed_int16", "type": "object" }, "toaster2_restock-toaster_input": { "properties": { "amountOfBreadToStock": { "description": "Indicates the amount of bread to re-stock", "type": "integer", "example": 0, "format": "int64" } }, "xml": { "name": "input", "namespace": "http://netconfcentral.org/ns/toaster2" }, "title": "toaster2_restock-toaster_input", "type": "object" }, "typed-params_typed_decimal64": { "properties": { "value": { "description": "", "type": "string", "example": "Some value" }, "decimal64-key": { "description": "", "type": "number", "example": -92233720368547758.08 } }, "xml": { "name": "decimal64", "namespace": "urn:typed-params" }, "title": "typed-params_typed_decimal64", "type": "object" }, "definition-test_binary-container": { "properties": { "binary-data": { "default": "SGVsbG8gdGVzdCE=", "description": "", "type": "string", "format": "byte" } }, "xml": { "name": "binary-container", "namespace": "urn:definition-test" }, "title": "definition-test_binary-container", "type": "object" }, "toaster_toaster": { "properties": { "testToasterBits": { "default": "testbit2", "enum": [ "testbit1", "testbit2" ], "description": "", "type": "string", "minItems": 0, "uniqueItems": true }, "allow-user": { "description": "A list of user name patterns to allow", "type": "array", "items": { "type": "string", "example": "Some allow-user" } }, "interval": { "default": 30, "description": "", "type": "integer", "example": 0, "format": "int32" }, "testUnion": { "description": "", "type": "integer", "example": -2147483648, "format": "int32" } }, "xml": { "name": "toaster", "namespace": "http://netconfcentral.org/ns/toaster" }, "description": "Top-level container for all toaster database objects.", "title": "toaster_toaster", "type": "object" }, "typed-params_typed_string": { "properties": { "string-key": { "description": "", "type": "string", "example": "Some string-key" }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "string", "namespace": "urn:typed-params" }, "title": "typed-params_typed_string", "type": "object" }, "definition-test_union-container": { "properties": { "testUnion3": { "default": "false", "description": "", "type": "integer", "example": -2147483648, "format": "int32" }, "testBoolean": { "default": true, "description": "", "type": "boolean", "example": true }, "testUnion2": { "default": "false", "description": "", "type": "string", "example": "Some testUnion2" }, "testUnion1": { "default": "5", "description": "", "type": "integer", "example": -2147483648, "format": "int32" } }, "xml": { "name": "union-container", "namespace": "urn:definition-test" }, "title": "definition-test_union-container", "type": "object" }, "toaster2_lst": { "properties": { "cont1": { "$ref": "#/components/schemas/toaster2_lst_cont1" }, "lst1": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/toaster2_lst_lst1" } }, "lf1": { "description": "", "type": "string", "example": "Some lf1" } }, "xml": { "name": "lst", "namespace": "http://netconfcentral.org/ns/toaster2" }, "title": "toaster2_lst", "type": "object" }, "action-types_multi-container": { "properties": { "inner-container": { "$ref": "#/components/schemas/action-types_multi-container_inner-container" } }, "xml": { "name": "multi-container", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "title": "action-types_multi-container", "type": "object" }, "typed-params_typed_binary": { "properties": { "binary-key": { "description": "", "type": "string", "format": "byte" }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "binary", "namespace": "urn:typed-params" }, "title": "typed-params_typed_binary", "type": "object" }, "mandatory-test_root-mandatory-list": { "properties": { "id": { "description": "", "type": "integer", "example": 0, "format": "int64" }, "root-mandatory-list-field": { "description": "", "type": "string", "example": "Some root-mandatory-list-field" } }, "xml": { "name": "root-mandatory-list", "namespace": "http://example.com/test" }, "title": "mandatory-test_root-mandatory-list", "type": "object" }, "action-types_multi-container_inner-container": { "properties": {}, "xml": { "name": "inner-container", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "title": "action-types_multi-container_inner-container", "type": "object" }, "strings-from-regex_test": { "properties": { "login-date-time": { "description": "", "type": "string", "example": "0000-00-00T00:00:00Z", "minLength": 0, "maxLength": 2147483647 }, "ipv4-address": { "description": "", "type": "string", "example": "0.0.0.0", "minLength": 0, "maxLength": 2147483647 }, "mac-address": { "description": "", "type": "string", "example": "00:00:00:00:00:00", "minLength": 0, "maxLength": 2147483647 } }, "xml": { "name": "test", "namespace": "urn:ietf:params:xml:ns:yang:strings:regex" }, "title": "strings-from-regex_test", "type": "object" }, "mandatory-test_root-container_mandatory-container": { "required": [ "mandatory-leaf", "leaf-list-with-min-elements" ], "properties": { "mandatory-leaf": { "description": "", "type": "string", "example": "Some mandatory-leaf" }, "leaf-list-with-min-elements": { "description": "", "type": "array", "items": { "type": "string", "example": "Some leaf-list-with-min-elements" }, "example": [ "Some leaf-list-with-min-elements", "Some leaf-list-with-min-elements" ], "minItems": 2 } }, "xml": { "name": "mandatory-container", "namespace": "http://example.com/test" }, "title": "mandatory-test_root-container_mandatory-container", "type": "object" }, "action-types_container": { "properties": {}, "xml": { "name": "container", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "title": "action-types_container", "type": "object" }, "typed-params_typed_int64": { "properties": { "int64-key": { "description": "", "type": "integer", "example": -9223372036854775808, "format": "int64" }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "int64", "namespace": "urn:typed-params" }, "title": "typed-params_typed_int64", "type": "object" }, "typed-params_typed_uint64": { "properties": { "uint64-key": { "description": "", "type": "integer", "example": 0 }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "uint64", "namespace": "urn:typed-params" }, "title": "typed-params_typed_uint64", "type": "object" }, "mandatory-test_root-container_optional-list": { "properties": { "id": { "description": "", "type": "integer", "example": 0, "format": "int64" }, "optional-list-field": { "description": "", "type": "string", "example": "Some optional-list-field" } }, "xml": { "name": "optional-list", "namespace": "http://example.com/test" }, "title": "mandatory-test_root-container_optional-list", "type": "object" }, "toaster2_toaster": { "properties": { "toasterSlot": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot" } }, "darknessFactor": { "default": 1000, "description": "The darkness factor. Basically, the number of ms to multiple the doneness value by.", "type": "integer", "example": 0, "format": "int64" } }, "xml": { "name": "toaster", "namespace": "http://netconfcentral.org/ns/toaster2" }, "description": "Top-level container for all toaster database objects.", "title": "toaster2_toaster", "type": "object" }, "test-container-childs_root-container_nested-container_mandatory-list": { "properties": { "address": { "description": "", "type": "string", "example": "Some address" }, "name": { "description": "", "type": "string", "example": "Some name" }, "id": { "description": "", "type": "integer", "example": 0, "format": "int64" } }, "xml": { "name": "mandatory-list", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container_nested-container_mandatory-list", "type": "object" }, "path-params-test_cont": { "properties": { "list1": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1" } }, "list3": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list3" } } }, "xml": { "name": "cont", "namespace": "urn:ietf:params:xml:ns:yang:test:params" }, "title": "path-params-test_cont", "type": "object" }, "toaster2_toaster_toasterSlot": { "properties": { "slotId": { "description": "", "type": "string", "example": "Some slotId" }, "slotInfo": { "$ref": "#/components/schemas/toaster2_toaster_toasterSlot_slotInfo" } }, "xml": { "name": "toasterSlot", "namespace": "http://netconfcentral.org/ns/toaster2" }, "title": "toaster2_toaster_toasterSlot", "type": "object" }, "path-params-test_cont_list1_list2": { "properties": { "name": { "description": "", "type": "string", "example": "Some name" } }, "xml": { "name": "list2", "namespace": "urn:ietf:params:xml:ns:yang:test:params" }, "title": "path-params-test_cont_list1_list2", "type": "object" }, "typed-params_typed_enumeration": { "properties": { "value": { "description": "", "type": "string", "example": "Some value" }, "enumeration-key": { "enum": [ "first", "second", "third" ], "description": "", "type": "string", "example": "first" } }, "xml": { "name": "enumeration", "namespace": "urn:typed-params" }, "title": "typed-params_typed_enumeration", "type": "object" }, "typed-params_typed_union": { "properties": { "value": { "description": "", "type": "string", "example": "Some value" }, "union-key": { "description": "", "type": "integer", "example": -2147483648, "format": "int32" } }, "xml": { "name": "union", "namespace": "urn:typed-params" }, "title": "typed-params_typed_union", "type": "object" }, "action-types_list": { "properties": { "name": { "description": "", "type": "string", "example": "Some name" } }, "xml": { "name": "list", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "title": "action-types_list", "type": "object" }, "path-params-test_cont_list1_list4": { "properties": { "name": { "description": "", "type": "string", "example": "Some name" } }, "xml": { "name": "list4", "namespace": "urn:ietf:params:xml:ns:yang:test:params" }, "title": "path-params-test_cont_list1_list4", "type": "object" }, "definition-test_number-container": { "properties": { "testInteger": { "default": 42, "description": "", "type": "integer", "example": -2147483648, "format": "int32" }, "testUnsignedInteger": { "default": 100, "description": "", "type": "integer", "example": 0, "format": "int32" }, "testUint64": { "default": 42, "description": "", "type": "integer", "example": 0 }, "testDouble": { "default": 3.14159265359, "description": "", "type": "number", "example": -92233720.36854775808 }, "testInt64": { "default": 42, "description": "", "type": "integer", "example": -9223372036854775808, "format": "int64" }, "testDecimal": { "default": 3.14, "description": "", "type": "number", "example": -92233720368547758.08 } }, "xml": { "name": "number-container", "namespace": "urn:definition-test" }, "title": "definition-test_number-container", "type": "object" }, "test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container": { "properties": { "nested-leaf": { "description": "", "type": "string", "example": "Some nested-leaf" } }, "xml": { "name": "list-nested-container", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container", "type": "object" }, "recursive_container-root_root-list_nested-list": { "properties": { "name": { "description": "", "type": "string", "example": "Some name" }, "super-nested-list": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list_super-nested-list" } } }, "xml": { "name": "nested-list", "namespace": "urn:opendaylight:test:recursive" }, "title": "recursive_container-root_root-list_nested-list", "type": "object" }, "test-container-childs_root-container_nested-container": { "required": [ "mandatory-list" ], "properties": { "mandatory-list": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container_nested-container_mandatory-list" }, "example": [ { "address": "Some address", "name": "Some name", "id": 0 }, { "address": "Some address", "name": "Some name", "id": 1 }, { "address": "Some address", "name": "Some name", "id": 2 } ], "minItems": 3, "maxItems": 5 } }, "xml": { "name": "nested-container", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container_nested-container", "type": "object" }, "mandatory-test_root-container_optional-presence-container": { "properties": { "presence-leaf": { "description": "", "type": "string", "example": "Some presence-leaf" } }, "xml": { "name": "optional-presence-container", "namespace": "http://example.com/test" }, "title": "mandatory-test_root-container_optional-presence-container", "type": "object" }, "mandatory-test_root-optional-list": { "properties": { "id": { "description": "", "type": "integer", "example": 0, "format": "int64" }, "root-optional-list-field": { "description": "", "type": "string", "example": "Some root-optional-list-field" } }, "xml": { "name": "root-optional-list", "namespace": "http://example.com/test" }, "title": "mandatory-test_root-optional-list", "type": "object" }, "definition-test_enum-container": { "properties": { "status": { "default": "up", "enum": [ "up", "down" ], "description": "", "type": "string", "example": "up" } }, "xml": { "name": "enum-container", "namespace": "urn:definition-test" }, "title": "definition-test_enum-container", "type": "object" }, "path-params-test_cont_list1_cont2": { "properties": {}, "xml": { "name": "cont2", "namespace": "urn:ietf:params:xml:ns:yang:test:params" }, "title": "path-params-test_cont_list1_cont2", "type": "object" }, "mandatory-test_root-container_mandatory-list": { "required": [ "mandatory-list-field" ], "properties": { "id": { "description": "", "type": "integer", "example": 0, "format": "int64" }, "mandatory-list-field": { "description": "", "type": "string", "example": "Some mandatory-list-field" } }, "xml": { "name": "mandatory-list", "namespace": "http://example.com/test" }, "title": "mandatory-test_root-container_mandatory-list", "type": "object" }, "test-container-childs_root-container-two-keys": { "properties": { "nested-container-two-keys": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys" } }, "xml": { "name": "root-container-two-keys", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container-two-keys", "type": "object" }, "test-container-childs_root-container-unique_nested-container-unique": { "required": [ "mandatory-list-unique" ], "properties": { "mandatory-list-unique": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique" }, "example": [ { "address": "Some address", "name": "Some name", "description": "Some description", "id": 0 }, { "address": "Some address_1", "name": "Some name_1", "description": "Some description", "id": 1 }, { "address": "Some address_2", "name": "Some name_2", "description": "Some description", "id": 2 } ], "minItems": 3, "maxItems": 5 } }, "xml": { "name": "nested-container-unique", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container-unique_nested-container-unique", "type": "object" }, "mandatory-test_root-container": { "required": [ "mandatory-root-leaf", "mandatory-container", "mandatory-first-choice", "mandatory-list" ], "properties": { "optional-root-leaf": { "description": "", "type": "string", "example": "Some optional-root-leaf" }, "optional-presence-container": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-presence-container" }, "mandatory-container": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-container" }, "optional-first-choice": { "description": "", "type": "string", "example": "Some optional-first-choice" }, "optional-list": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-container_optional-list" } }, "mandatory-root-leaf": { "description": "", "type": "string", "example": "Some mandatory-root-leaf" }, "mandatory-list": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/mandatory-test_root-container_mandatory-list" }, "example": [ { "id": 0, "mandatory-list-field": "Some mandatory-list-field" }, { "id": 1, "mandatory-list-field": "Some mandatory-list-field" } ], "minItems": 2 }, "mandatory-first-choice": { "description": "", "type": "string", "example": "Some mandatory-first-choice" } }, "xml": { "name": "root-container", "namespace": "http://example.com/test" }, "title": "mandatory-test_root-container", "type": "object" }, "typed-params_typed_int32": { "properties": { "value": { "description": "", "type": "string", "example": "Some value" }, "int32-key": { "description": "", "type": "integer", "example": -2147483648, "format": "int32" } }, "xml": { "name": "int32", "namespace": "urn:typed-params" }, "title": "typed-params_typed_int32", "type": "object" }, "test-container-childs_root-container-two-keys_nested-container-two-keys": { "required": [ "mandatory-list-two-keys" ], "properties": { "mandatory-list-two-keys": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys" }, "example": [ { "address": "Some address", "name": "Some name", "id": 0 }, { "address": "Some address", "name": "Some name_1", "id": 1 }, { "address": "Some address", "name": "Some name_2", "id": 2 } ], "minItems": 3, "maxItems": 5 } }, "xml": { "name": "nested-container-two-keys", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container-two-keys_nested-container-two-keys", "type": "object" }, "typed-params_typed_empty": { "properties": { "empty-key": { "description": "", "type": "object" }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "empty", "namespace": "urn:typed-params" }, "title": "typed-params_typed_empty", "type": "object" }, "toaster2_toaster_toasterSlot_slotInfo": { "properties": { "numberOfToastPrepared": { "description": "", "type": "integer", "example": 0, "format": "int64" } }, "xml": { "name": "slotInfo", "namespace": "http://netconfcentral.org/ns/toaster/augmented" }, "title": "toaster2_toaster_toasterSlot_slotInfo", "type": "object" }, "typed-params_typed_uint16": { "properties": { "value": { "description": "", "type": "string", "example": "Some value" }, "uint16-key": { "description": "", "type": "integer", "example": 0, "format": "int32" } }, "xml": { "name": "uint16", "namespace": "urn:typed-params" }, "title": "typed-params_typed_uint16", "type": "object" }, "choice-test_second-container": { "properties": { "leaf-first-case": { "description": "", "type": "string", "example": "Some leaf-first-case" } }, "xml": { "name": "second-container", "namespace": "urn:opendaylight:choice-test" }, "title": "choice-test_second-container", "type": "object" }, "string-types_test": { "properties": { "display-string": { "description": "", "type": "string", "example": "", "minLength": 0, "maxLength": 255 }, "thai": { "description": "", "type": "string", "example": "", "minLength": 10, "maxLength": 10 }, "mathematical-operators": { "description": "", "type": "string", "example": "", "minLength": 10, "maxLength": 10 }, "arrows": { "description": "", "type": "string", "example": "", "minLength": 10, "maxLength": 10 }, "phys-address": { "description": "", "type": "string", "example": "00:", "minLength": 0, "maxLength": 2147483647 }, "mac-address": { "description": "", "type": "string", "example": "00:00:00:00:00:00", "minLength": 0, "maxLength": 2147483647 }, "braille-patterns": { "description": "", "type": "string", "example": "", "minLength": 10, "maxLength": 10 }, "date-and-time": { "description": "", "type": "string", "example": "", "minLength": 8, "maxLength": 11 } }, "xml": { "name": "test", "namespace": "urn:ietf:params:xml:ns:yang:test:string:types" }, "description": "Tests various combinations of regex expressions found in snmp yang models,\nwhich are causing problems because of isBasicLatin expression.\n\nAccording to https://unicode.org/charts/PDF/U0000.pdf basic latin characters are in range\n0x00-0x7F ([\\x00-\\xFF] or [\\u0000-\\u00FF]). This means it should be safe to replace isBasicLatin\nin regex expressions for characters in this range.", "title": "string-types_test", "type": "object" }, "toaster_make-toast_input": { "properties": { "toasterToastType": { "default": "wheat-bread", "enum": [ "toast-type", "wheat-bread", "hash-brown", "frozen-waffle", "frozen-bagel", "white-bread", "wonder-bread" ], "description": "This variable informs the toaster of the type of\n material that is being toasted. The toaster\n uses this information, combined with\n toasterDoneness, to compute for how\n long the material must be toasted to achieve\n the required doneness.", "type": "string", "example": "toast-type" }, "toasterDoneness": { "default": 5, "description": "This variable controls how well-done is the\n ensuing toast. It should be on a scale of 1 to 10.\n Toast made at 10 generally is considered unfit\n for human consumption; toast made at 1 is warmed\n lightly.", "type": "integer", "example": 1, "format": "int64" } }, "xml": { "name": "input", "namespace": "http://netconfcentral.org/ns/toaster" }, "title": "toaster_make-toast_input", "type": "object" }, "typed-params_typed_uint8": { "properties": { "value": { "description": "", "type": "string", "example": "Some value" }, "uint8-key": { "description": "", "type": "integer", "example": 0, "format": "int32" } }, "xml": { "name": "uint8", "namespace": "urn:typed-params" }, "title": "typed-params_typed_uint8", "type": "object" }, "action-types_container_container-action_input": { "required": [ "ca-input" ], "properties": { "ca-input": { "description": "", "type": "string", "example": "Some ca-input" } }, "xml": { "name": "input", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "title": "action-types_container_container-action_input", "type": "object" }, "toaster2_lst_lst1": { "properties": { "lf11": { "description": "", "type": "integer", "example": -32768, "format": "int32" }, "key2": { "description": "", "type": "integer", "example": -128, "format": "int32" }, "key1": { "description": "", "type": "integer", "example": -2147483648, "format": "int32" } }, "xml": { "name": "lst1", "namespace": "http://netconfcentral.org/ns/toaster2" }, "title": "toaster2_lst_lst1", "type": "object" }, "toaster2_lst_cont1_cont11": { "properties": { "lf111": { "description": "", "type": "integer", "example": 0, "format": "int64" }, "lf112": { "description": "", "type": "string", "example": "Some lf112" } }, "xml": { "name": "cont11", "namespace": "http://netconfcentral.org/ns/toaster2" }, "title": "toaster2_lst_cont1_cont11", "type": "object" }, "test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique": { "properties": { "id": { "description": "", "type": "integer", "example": 0, "format": "int64" }, "description": { "description": "", "type": "string", "example": "Some description" }, "address": { "description": "", "type": "string", "example": "Some address" }, "name": { "description": "", "type": "string", "example": "Some name" } }, "xml": { "name": "mandatory-list-unique", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container-unique_nested-container-unique_mandatory-list-unique", "type": "object" }, "toaster2_lst_cont1_lst11": { "properties": { "lf111": { "description": "", "type": "string", "example": "Some lf111" } }, "xml": { "name": "lst11", "namespace": "http://netconfcentral.org/ns/toaster2" }, "title": "toaster2_lst_cont1_lst11", "type": "object" }, "my-yang_data": { "properties": { "my-data": { "description": "", "type": "string", "example": "Some my-data" } }, "xml": { "name": "data", "namespace": "urn:opendaylight:params:xml:ns:yang:my-yang" }, "title": "my-yang_data", "type": "object" }, "typed-params_typed_int8": { "properties": { "int8-key": { "description": "", "type": "integer", "example": -128, "format": "int32" }, "value": { "description": "", "type": "string", "example": "Some value" } }, "xml": { "name": "int8", "namespace": "urn:typed-params" }, "title": "typed-params_typed_int8", "type": "object" }, "action-types_list_list-action_input": { "required": [ "la-input" ], "properties": { "la-input": { "description": "", "type": "string", "example": "Some la-input" } }, "xml": { "name": "input", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "title": "action-types_list_list-action_input", "type": "object" }, "recursive_container-root_root-list": { "properties": { "name": { "description": "", "type": "string", "example": "Some name" }, "nested-list": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/recursive_container-root_root-list_nested-list" } } }, "xml": { "name": "root-list", "namespace": "urn:opendaylight:test:recursive" }, "title": "recursive_container-root_root-list", "type": "object" }, "test-container-childs_root-container-unique": { "properties": { "nested-container-unique": { "$ref": "#/components/schemas/test-container-childs_root-container-unique_nested-container-unique" } }, "xml": { "name": "root-container-unique", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container-unique", "type": "object" }, "choice-test_first-container": { "properties": { "leaf-default": { "default": "default-value", "description": "", "type": "string", "example": "Some leaf-default" } }, "xml": { "name": "first-container", "namespace": "urn:opendaylight:choice-test" }, "title": "choice-test_first-container", "type": "object" }, "action-types_list_list-action_output": { "required": [ "la-output" ], "properties": { "la-output": { "description": "", "type": "string", "example": "Some la-output" } }, "xml": { "name": "output", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" }, "title": "action-types_list_list-action_output", "type": "object" }, "definition-test_network-container": { "properties": { "network-ref": { "default": "/network/nodes[node-id='node1']", "description": "", "type": "string", "example": "/sample:binary-container" } }, "xml": { "name": "network-container", "namespace": "urn:definition-test" }, "title": "definition-test_network-container", "type": "object" }, "path-params-test_cont_list1": { "properties": { "cont2": { "$ref": "#/components/schemas/path-params-test_cont_list1_cont2" }, "list4": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1_list4" } }, "list2": { "description": "", "type": "array", "items": { "$ref": "#/components/schemas/path-params-test_cont_list1_list2" } }, "name": { "description": "", "type": "string", "example": "Some name" } }, "xml": { "name": "list1", "namespace": "urn:ietf:params:xml:ns:yang:test:params" }, "title": "path-params-test_cont_list1", "type": "object" }, "path-params-test_cont_list3": { "properties": { "name": { "description": "", "type": "string", "example": "Some name" } }, "xml": { "name": "list3", "namespace": "urn:ietf:params:xml:ns:yang:test:params" }, "title": "path-params-test_cont_list3", "type": "object" }, "test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys": { "properties": { "id": { "description": "", "type": "integer", "example": 0, "format": "int64" }, "address": { "description": "", "type": "string", "example": "Some address" }, "name": { "description": "", "type": "string", "example": "Some name" }, "list-nested-container": { "$ref": "#/components/schemas/test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys_list-nested-container" } }, "xml": { "name": "mandatory-list-two-keys", "namespace": "http://example.com/test/container/child" }, "title": "test-container-childs_root-container-two-keys_nested-container-two-keys_mandatory-list-two-keys", "type": "object" }, "action-types_first-container": { "properties": { "second-container": { "$ref": "#/components/schemas/action-types_first-container_second-container" } }, "title": "action-types_first-container", "type": "object", "xml": { "name": "first-container", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" } }, "action-types_first-container_second-container": { "properties": { "third-container": { "$ref": "#/components/schemas/action-types_first-container_second-container_third-container" } }, "title": "action-types_first-container_second-container", "type": "object", "xml": { "name": "second-container", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" } }, "action-types_first-container_second-container_third-container_nested-action_input": { "properties": { "input-leaf": { "description": "", "example": "Some input-leaf", "type": "string" } }, "title": "action-types_first-container_second-container_third-container_nested-action_input", "type": "object", "xml": { "name": "input", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" } }, "action-types_first-container_second-container_third-container_nested-action_output": { "properties": { "output-leaf": { "description": "", "example": "Some output-leaf", "type": "string" } }, "title": "action-types_first-container_second-container_third-container_nested-action_output", "type": "object", "xml": { "name": "output", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" } }, "action-types_first-container_second-container_third-container": { "properties": {}, "title": "action-types_first-container_second-container_third-container", "type": "object", "xml": { "name": "third-container", "namespace": "urn:ietf:params:xml:ns:yang:test:action:types" } }, "duplication-test_first": { "properties": {}, "title": "duplication-test_first", "type": "object", "xml": { "name": "first", "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service" } }, "duplication-test_test-rpc2_input": { "properties": { "first": { "$ref": "#/components/schemas/duplication-test_first" }, "input-leaf": { "description": "", "example": "Some input-leaf", "type": "string" } }, "title": "duplication-test_test-rpc2_input", "type": "object", "xml": { "name": "input", "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:test" } }, "duplication-test_test-rpc_input": { "properties": { "first": { "$ref": "#/components/schemas/duplication-test_first" }, "input-leaf": { "description": "", "example": "Some input-leaf", "type": "string" } }, "title": "duplication-test_test-rpc_input", "type": "object", "xml": { "name": "input", "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:test" } }, "duplication-test_test-rpc3_input": { "title": "duplication-test_test-rpc3_input", "type": "object", "properties": { "input-leaf": { "description": "", "type": "string", "example": "Some input-leaf" }, "first": { "$ref": "#/components/schemas/duplication-test_first1" } }, "xml": { "name": "input", "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:test" } }, "duplication-test_first1": { "title": "duplication-test_first", "type": "object", "properties": { "input-leaf1": { "description": "", "type": "string", "example": "Some input-leaf1" } }, "xml": { "name": "first", "namespace": "urn:ietf:params:xml:ns:yang:test:duplication:service" } } }, "securitySchemes": { "basicAuth": { "scheme": "basic", "type": "http" } } }, "security": [ { "basicAuth": [] } ] }