Commit fffddef4 authored by Marek Szkowron's avatar Marek Szkowron Committed by Kishen Maloor

Add /oc/con to server_certification_IDD

parent 1b5efd90
Pipeline #995 passed with stage
in 10 minutes and 6 seconds
......@@ -7,6 +7,48 @@
"application/json"
],
"paths":{
"/oc/con": {
"get": {
"description": "",
"parameters": [
{
"$ref": "#/parameters/interface-rw"
}
],
"responses": {
"200": {
"description" : "",
"schema": {
"$ref": "#/definitions/Configuration"
}
}
}
},
"post": {
"description": "",
"parameters": [
{
"$ref": "#/parameters/interface-rw"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ConfigurationUpdate"
}
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ConfigurationUpdate"
}
}
}
}
},
"/platform?if=oic.if.ll":{
"get":{
"responses":{
......@@ -142,7 +184,7 @@
},
"parameters":[
{
"$ref":"#/parameters/interface-update"
"$ref":"#/parameters/interface-all40"
},
{
"schema":{
......@@ -232,7 +274,7 @@
},
"parameters":[
{
"$ref":"#/parameters/interface-all"
"$ref":"#/parameters/interface-rw"
}
],
"description":""
......@@ -250,7 +292,7 @@
},
"parameters":[
{
"$ref":"#/parameters/interface-update"
"$ref":"#/parameters/interface-all40"
},
{
"schema":{
......@@ -350,7 +392,7 @@
"description":""
},
"tag-pos-desc":{
"description":"Descriptive relative position of the Resource",
"description":"",
"type":"string",
"enum":[
"unknown",
......@@ -378,7 +420,7 @@
"tag-pos-rel":{
"type":"array",
"readOnly":true,
"description":"Relative position; against a known [0,0,0] point.",
"description":"",
"minItems":3,
"maxItems":3,
"items":{
......@@ -430,7 +472,7 @@
"items":{
"properties":{
"tag-pos-desc":{
"description":"Descriptive relative position of the Resource",
"description":"",
"type":"string",
"enum":[
"unknown",
......@@ -690,7 +732,7 @@
"description":""
},
"tag-pos-desc":{
"description":"Descriptive relative position of the Resource",
"description":"",
"type":"string",
"enum":[
"unknown",
......@@ -869,7 +911,7 @@
"items":{
"properties":{
"tag-pos-desc":{
"description":"Descriptive relative position of the Resource",
"description":"",
"type":"string",
"enum":[
"unknown",
......@@ -1195,7 +1237,7 @@
"oic.oic-link":{
"properties":{
"tag-pos-desc":{
"description":"Descriptive relative position of the Resource",
"description":"",
"type":"string",
"enum":[
"unknown",
......@@ -1335,7 +1377,7 @@
"description":""
},
"di":{
"type":"string",
"type":"string",
"pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
"description":""
},
......@@ -1350,16 +1392,67 @@
"if"
],
"type":"object"
}
},
"Configuration": {
"properties": {
"rt": {
"description": "",
"items": {
"enum": ["oic.wk.con"],
"type": "string",
"maxLength": 64
},
"minItems": 1,
"uniqueItems": true,
"readOnly": true,
"type": "array",
"default": ["oic.wk.con"]
},
"n": {
"type": "string",
"readOnly": true,
"maxLength": 64,
"description": ""
},
"if" : {
"description": "",
"items": {
"enum": [
"oic.if.baseline",
"oic.if.rw"
],
"type": "string",
"maxLength": 64
},
"minItems": 1,
"uniqueItems": true,
"readOnly": true,
"type": "array"
}
},
"type" : "object",
"required": ["n"]
},
"ConfigurationUpdate" : {
"properties": {
"n": {
"description": "",
"maxLength": 64,
"type": "string"
}
},
"required": ["n"],
"type" : "object"
}
},
"info":{
"version":"20190215",
"title":"serverlite24521",
"termsOfService":"https://openconnectivityfoundation.github.io/core/DISCLAIMER.md",
"title":"serverlite",
"termsOfService":"",
"license":{
"x-copyright":"copyright 2016-2017, 2019 Open Connectivity Foundation, Inc. All rights reserved.",
"url":"https://github.com/openconnectivityfoundation/core/blob/e28a9e0a92e17042ba3e83661e4c0fbce8bdc4ba/LICENSE.md",
"name":"OCF Data Model License"
"x-copyright":"",
"url":"",
"name":""
}
},
"parameters":{
......@@ -1371,7 +1464,6 @@
],
"in":"query",
"name":"units",
"x-queryexample":"/TemperatureResURI?units=C",
"description":"",
"type":"string"
},
......@@ -1384,17 +1476,6 @@
"in":"query",
"name":"if"
},
"interface-update":{
"enum":[
"oic.if.ll",
"oic.if.create",
"oic.if.b",
"oic.if.baseline"
],
"type":"string",
"in":"query",
"name":"if"
},
"interface30":{
"enum":[
"oic.if.r",
......@@ -1425,7 +1506,7 @@
},
"interface-all40":{
"enum":[
"oic.if.ll",
"oic.if.ll",
"oic.if.create",
"oic.if.b",
"oic.if.baseline"
......@@ -1434,15 +1515,6 @@
"in":"query",
"name":"if"
},
"interface-all":{
"enum":[
"oic.if.rw",
"oic.if.baseline"
],
"type":"string",
"in":"query",
"name":"if"
},
"platforminterface-all":{
"enum":[
"oic.if.baseline"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment