Skip to content
Snippets Groups Projects
Commit 16fe4aa8 authored by Laurent Velez's avatar Laurent Velez
Browse files

test3

parent 343e80a4
No related branches found
No related tags found
No related merge requests found
......@@ -53,64 +53,70 @@ paths:
}
}
responses:
201:
description: Create AE Response
'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:
'with no rcn or rcn=1 in the request':
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"}}
'with rcn=0 in the request':
value: >-
{}
'with rcn=2 in the request':
value: |-
{
"m2m:ae": {
"rn": "aename",
"api": "N01.com.company.aename ",
"lbl": ["key1", "key2"],
"rr": true,
"srv": ["3"],
"poa": ["http://cse-address:8080"],
"ri": "CAdmin",
"ct": "20210330T153934,791690",
"lt": "20210330T153934,791690",
"et": "20220330T153934,791714",
"pi": "cse-id",
"ty": 2,
"aei": "CAdmin"
}
}
'rcn=0 in the request':
value: ''
'rcn=3 in the request':
value: |-
{
"m2m:rce" {
"m2m:ae": {
"rn": "aename",
"api": "N01.com.company.aename ",
"lbl": ["key1", "key2"],
"rr": true,
"srv": ["3"],
"poa": ["http://cse-address:8080"],
"ri": "CAdmin",
"ct": "20210330T153934,791690",
"lt": "20210330T153934,791690",
"et": "20220330T153934,791714",
"pi": "cse-id",
"ty": 2,
"aei": "CAdmin"
}
"uri": "mn-name/ae_sensor"
}
}
'rcn=2 in the request':
{"m2m:ae": "csename/aename"}
'with rcn=3 in the request':
value: |-
{
"m2m:ae": "csename/aename"
}
{"m2m:rce" {"m2m:ae": {"rn": "aename", "api": "N01.com.company.aename ",
"lbl": ["key1", "key2"], "rr": true, "srv": ["3"], "poa": ["http://cse-address:8080"],
"ri": "CAdmin", "ct": "20210330T153934,791690", "lt": "20210330T153934,791690", "et": "20220330T153934,791714", "pi": "cse-id", "ty": 2,
"aei": "CAdmin"} "uri": "mn-name/ae_sensor"}}
servers:
- url: 'http://cse-address:8080'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment