Commit fb78e096 authored by Laurent Velez's avatar Laurent Velez
Browse files

added Container3

parent c7afcb27
This diff is collapsed.
{
"openapi" : "3.0.1",
"info" : {
"title" : "defaultTitle",
"description" : "defaultDescription",
"version" : "0.1"
},
"servers" : [ {
"url" : "http://192.168.1.30:8080"
} ],
"paths" : {
"/cse-in" : {
"post" : {
"description" : "Auto generated using Swagger Inspector",
"parameters" : [ {
"name" : "X-M2M-Origin",
"in" : "header",
"schema" : {
"type" : "string"
},
"example" : "CAdmin"
}, {
"name" : "X-M2M-RVI",
"in" : "header",
"schema" : {
"type" : "string"
},
"example" : "3"
}, {
"name" : "X-M2M-RI",
"in" : "header",
"schema" : {
"type" : "string"
},
"example" : "1234"
} ],
"requestBody" : {
"content" : {
"application/json;ty=2" : {
"schema" : {
"type" : "object"
},
"examples" : {
"0" : {
"value" : "{\n \"m2m:ae\" : {\n \"rn\": \"temperature\",\n \"api\": \"N01.com.company.temperature \",\n \"lbl\": [\"key1\", \"key2\"],\n \"rr\": true,\n \"srv\": [\"3\"],\n \"poa\": [\"http://192.168.1.30:8080\"]\n }\n}"
}
}
}
}
},
"responses" : {
"201" : {
"description" : "Auto generated using Swagger Inspector",
"content" : {
"application/json" : {
"schema" : {
"type" : "object",
"properties" : {
"m2m:ae" : {
"type" : "object",
"properties" : {
"rr" : {
"type" : "boolean"
},
"poa" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"aei" : {
"type" : "string"
},
"ty" : {
"type" : "integer"
},
"lt" : {
"type" : "string"
},
"et" : {
"type" : "string"
},
"ct" : {
"type" : "string"
},
"srv" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"lbl" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"ri" : {
"type" : "string"
},
"pi" : {
"type" : "string"
},
"api" : {
"type" : "string"
},
"rn" : {
"type" : "string"
}
}
}
}
},
"examples" : {
"0" : {
"value" : "{\"m2m:ae\": {\"rn\": \"temperature\", \"api\": \"N01.com.company.temperature \", \"lbl\": [\"key1\", \"key2\"], \"rr\": true, \"srv\": [\"3\"], \"poa\": [\"http://192.168.1.30:8080\"], \"ri\": \"CAdmin\", \"ct\": \"20210330T153934,791690\", \"lt\": \"20210330T153934,791690\", \"et\": \"20220330T153934,791714\", \"pi\": \"id-in\", \"ty\": 2, \"aei\": \"CAdmin\"}}"
}
}
}
}
}
},
"servers" : [ {
"url" : "http://192.168.1.30:8080"
} ]
},
"servers" : [ {
"url" : "http://192.168.1.30:8080"
} ]
}
},
"components" : {
"schemas" : {
"Schema" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "integer",
"format" : "int64"
}
}
}
}
}
}
\ No newline at end of file
openapi: 3.0.1
info:
title: defaultTitle
description: defaultDescription
version: '0.1'
servers:
- url: 'http://192.168.1.30:8080'
paths:
/cse-in:
post:
description: Auto generated using Swagger Inspector
parameters:
- name: X-M2M-Origin
in: header
schema:
type: string
example: CAdmin
- name: X-M2M-RVI
in: header
schema:
type: string
example: '3'
- name: X-M2M-RI
in: header
schema:
type: string
example: '1234'
requestBody:
content:
application/json;ty=2:
schema:
type: object
examples:
'0':
value: |-
{
"m2m:ae" : {
"rn": "temperature",
"api": "N01.com.company.temperature ",
"lbl": ["key1", "key2"],
"rr": true,
"srv": ["3"],
"poa": ["http://192.168.1.30:8080"]
}
}
responses:
'201':
description: Auto generated using Swagger Inspector
content:
application/json:
schema:
type: object
properties:
'm2m:ae':
type: object
properties:
rr:
type: boolean
poa:
type: array
items:
type: string
aei:
type: string
ty:
type: integer
lt:
type: string
et:
type: string
ct:
type: string
srv:
type: array
items:
type: string
lbl:
type: array
items:
type: string
ri:
type: string
pi:
type: string
api:
type: string
rn:
type: string
examples:
'0':
value: >-
{"m2m:ae": {"rn": "temperature", "api":
"N01.com.company.temperature ", "lbl": ["key1", "key2"],
"rr": true, "srv": ["3"], "poa":
["http://192.168.1.30:8080"], "ri": "CAdmin", "ct":
"20210330T153934,791690", "lt": "20210330T153934,791690",
"et": "20220330T153934,791714", "pi": "id-in", "ty": 2,
"aei": "CAdmin"}}
servers:
- url: 'http://192.168.1.30:8080'
servers:
- url: 'http://192.168.1.30:8080'
components:
schemas:
Schema:
type: object
properties:
id:
type: integer
format: int64
\ No newline at end of file
This diff is collapsed.
......@@ -12,7 +12,7 @@ paths:
parameters:
- name: X-M2M-Origin
in: header
required: false
required: true
style: simple
explode: false
schema:
......@@ -20,7 +20,7 @@ paths:
example: CAdmin
- name: X-M2M-RVI
in: header
required: false
required: true
style: simple
explode: false
schema:
......@@ -28,30 +28,37 @@ paths:
example: '3'
- name: X-M2M-RI
in: header
required: false
required: true
style: simple
explode: false
schema:
type: string
example: '1234'
requestBody:
description: 'AE to be created'
required: true
content:
content:
application/json;ty=2:
application/json:
schema:
type: string
examples:
'0':
value: |-
{
"m2m:ae" : {
"rn": "aename",
"api": "N01.com.company.aename ",
"lbl": ["key1", "key2"],
"rr": true,
"srv": ["3"],
"poa": ["http://cse-address:8080"]
}
}
type: object
properties:
circleNotificationSubscription:
$ref: '#/components/schemas/CircleNotificationSubscription'
example:
circleNotificationSubscription:
clientCorrelator: '0123'
callbackReference:
callbackData: '1234'
notifyURL: 'http://clientApp.example.com/location_notifications/123456'
address: 'acr:10.0.0.1'
checkImmediate: true
enteringLeavingCriteria: 'Entering'
frequency: 10
latitude: -80.88
longitude: 41.277
radius: 500
trackingAccuracy: 10
responses:
'201':
description: Create AE Response
......
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