summaryrefslogtreecommitdiffstats
path: root/dataChange/model/src/main/resources
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-12 09:04:22 -0400
committerDan Timoney <dtimoney@att.com>2017-10-12 09:04:22 -0400
commitadef520003cc54ae60fc62154df8caacb0610243 (patch)
tree414084e9852702af72d6bb4aec84c9a6d076c10c /dataChange/model/src/main/resources
parent73d1bd7ab120c112f0febbcfa5b549be7e9754ea (diff)
Add readthedocs documentation for sli/northbound
Add readthedocs documentation for sli/northbound. Change-Id: I8ca9d7e839408094ab3754500d71fe7463f0b0e4 Issue-ID: CCSDK-107 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'dataChange/model/src/main/resources')
-rw-r--r--dataChange/model/src/main/resources/dataChange.20150519.json136
1 files changed, 136 insertions, 0 deletions
diff --git a/dataChange/model/src/main/resources/dataChange.20150519.json b/dataChange/model/src/main/resources/dataChange.20150519.json
new file mode 100644
index 00000000..128195b5
--- /dev/null
+++ b/dataChange/model/src/main/resources/dataChange.20150519.json
@@ -0,0 +1,136 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "1.0.0"
+ },
+ "basePath": "/restconf",
+ "paths": {
+ "/operations/DataChange:data-change-notification": {
+ "post": {
+ "consumes": [
+ "application/json",
+ "application/xml"
+ ],
+ "produces": [
+ "application/json",
+ "application/xml"
+ ],
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/(data-change-notification)input-TOP"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "No response was specified",
+ "schema": {
+ "$ref": "#/definitions/(data-change-notification)output-TOP"
+ }
+ }
+ },
+ "operationId": "data-change-notification"
+ }
+ }
+ },
+ "definitions": {
+ "(config)DataChange_modulePOST": {
+ "type": "object"
+ },
+ "(config)key-dataPOST": {
+ "properties": {
+ "key-name": {
+ "$ref": "#/definitions/Some key-name"
+ },
+ "key-value": {
+ "$ref": "#/definitions/Some key-value"
+ }
+ },
+ "type": "object"
+ },
+ "(data-change-notification)input": {
+ "properties": {
+ "DataChange:aai-event-id": {
+ "$ref": "#/definitions/Some aai-event-id"
+ },
+ "DataChange:aai-event-trigger": {
+ "$ref": "#/definitions/Update",
+ "enum": [
+ "Update",
+ "Delete"
+ ]
+ },
+ "DataChange:aai-node-type": {
+ "$ref": "#/definitions/Some aai-node-type"
+ },
+ "DataChange:key-data": {
+ "items": {
+ "$ref": "#/definitions/DataChange(config)key-data"
+ },
+ "type": "array"
+ },
+ "DataChange:selflink": {
+ "$ref": "#/definitions/Some selflink"
+ }
+ },
+ "type": "object"
+ },
+ "(data-change-notification)input-TOP": {
+ "properties": {
+ "DataChange:input": {
+ "items": {
+ "$ref": "#/definitions/(data-change-notification)input"
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "(data-change-notification)output": {
+ "properties": {
+ "DataChange:data-change-response-code": {
+ "$ref": "#/definitions/Some data-change-response-code"
+ }
+ },
+ "type": "object"
+ },
+ "(data-change-notification)output-TOP": {
+ "properties": {
+ "DataChange:output": {
+ "items": {
+ "$ref": "#/definitions/(data-change-notification)output"
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "DataChange(config)key-data": {
+ "properties": {
+ "DataChange:key-name": {
+ "$ref": "#/definitions/Some key-name"
+ },
+ "DataChange:key-value": {
+ "$ref": "#/definitions/Some key-value"
+ }
+ },
+ "type": "object"
+ },
+ "DataChange(config)key-data-TOP": {
+ "properties": {
+ "DataChange:key-data": {
+ "items": {
+ "$ref": "#/definitions/DataChange(config)key-data"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "unique_empty_identifier": {}
+ }
+}