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

added Container3

parent 0ec20990
No related branches found
No related tags found
No related merge requests found
---
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
required: true
style: simple
explode: false
schema:
type: string
example: CAdmin
- name: X-M2M-RVI
in: header
required: true
style: simple
explode: false
schema:
type: string
example: "3"
- name: X-M2M-RI
in: header
required: true
style: simple
explode: false
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:
$ref: '#/components/schemas/inline_response_201'
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
/cse-in/temperature:
get:
description: Auto generated using Swagger Inspector
parameters:
- name: X-M2M-Origin
in: header
required: false
style: simple
explode: false
schema:
type: string
example: CAdmin
- name: X-M2M-RVI
in: header
required: false
style: simple
explode: false
schema:
type: string
example: "3"
- name: X-M2M-RI
in: header
required: false
style: simple
explode: false
schema:
type: string
example: "1234"
responses:
"200":
description: Auto generated using Swagger Inspector
content:
application/json:
schema:
$ref: '#/components/schemas/inline_response_201'
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:
inline_response_201:
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment