Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TST
API
Commits
00e7613f
Commit
00e7613f
authored
3 years ago
by
Laurent Velez
Browse files
Options
Downloads
Patches
Plain Diff
added Container3
parent
188c64bc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
OpenAPI/openapi-AE.yaml
+343
-0
343 additions, 0 deletions
OpenAPI/openapi-AE.yaml
OpenAPI/openapi-API-AE2.json
+3
-1
3 additions, 1 deletion
OpenAPI/openapi-API-AE2.json
OpenAPI/openapi-LocationAPI.yaml
+0
-0
0 additions, 0 deletions
OpenAPI/openapi-LocationAPI.yaml
with
346 additions
and
1 deletion
OpenAPI/openapi-AE.yaml
0 → 100644
+
343
−
0
View file @
00e7613f
openapi
:
3.0.1
info
:
title
:
AE
description
:
API for AE resource management
version
:
'
0.1'
servers
:
-
url
:
'
http://cse-address:8080'
paths
:
/csename
:
post
:
description
:
Create AE Resource
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'
requestBody
:
content
:
application/json;ty=2
:
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"]
}
}
responses
:
'
201'
:
description
:
Create AE Response
content
:
application/json
:
examples
:
with no rcn or rcn=1 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=2 in the request
:
value
:
|-
{
"m2m:ae": "csename/aename"
}
rcn=3 in the request
:
value
:
|-
{
"m2m:rce": {
"ae": {
"rn": "aename",
"api": "N01.com.company.aename ",
"lbl": ["key1", "key2"],
"rr": true,
"srv": ["3"],
"poa": ["http://cse-address:8080"],
"ri": "CAdmin",
"ct": "20210406T171115,934044",
"lt": "20210406T171115,934044",
"et": "20220406T171115,934064",
"pi": "cse-id",
"ty": 2,
"aei": "CAdmin"
},
"uri": "csename/aename"
}
}
}
servers
:
-
url
:
'
http://cse-address:8080'
servers
:
-
url
:
'
http://cse-address:8080'
/csename/aename
:
get
:
description
:
Retrieve AE Resource
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
:
Retrieve AE Response
content
:
application/json
:
examples
:
with no rcn or rcn=1 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"
}
}
with rcn=4 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": "20210406T171115,934044",
"lt": "20210406T171115,934044",
"et": "20220406T171115,934064",
"pi": "cse-id",
"ty": 2,
"aei": "CAdmin",
"m2m:cnt":
[{"rn": "data1",
"lbl": ["API"],
"ri": "cnt7407517254520235341",
"ct": "20210407T073116,754629",
"lt": "20210407T073116,754629",
"et": "20220407T073116,754662",
"pi": "CAdmin",
"st": 0,
"ty": 3,
"cni": 0,
"cbs": 0
},
{
"rn": "data2",
"lbl": ["API2"],
"ri": "cnt446121489468649928",
"ct": "20210407T073158,811116",
"lt": "20210407T073158,811116",
"et": "20220407T073158,811187",
"pi": "CAdmin",
"st": 0,
"ty": 3,
"cni": 0,
"cbs": 0
}]
}
}
servers
:
-
url
:
'
http://cse-address:8080'
put
:
description
:
Update AE resource
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'
requestBody
:
content
:
application/json
:
schema
:
type
:
string
examples
:
'
0'
:
value
:
|-
{
"m2m:ae" : {
"lbl": ["aename bedroom"],
"poa": ["http://192.168.1.50:9090"]
}
}
responses
:
'
200'
:
description
:
Update AE Response
content
:
application/json
:
examples
:
with no rcn or rcn=1 in the request
:
value
:
|-
{
"m2m:ae": {
"rn": "aename",
"api": "N01.com.company.aename ",
"lbl": ["aename bedroom"],
"rr": true,
"srv": ["3"],
"poa": ["http://192.168.1.50:9090"],
"ri": "CAdmin",
"ct": "20210406T171115,934044",
"lt": "20210407T080109,896281",
"et": "20220406T171115,934064",
"pi": "cse-id",
"ty": 2,
"aei": "CAdmin"
}
}
with rcn=0 in the request
:
value
:
'
'
servers
:
-
url
:
'
http://cse-address:8080'
delete
:
description
:
Delete AE
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
:
Delete AE response
content
:
application/json
:
examples
:
with no rcn or rcn=0 in the request
:
value
:
'
'
with rcn=1 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": "C8r12WReyGd",
"ct": "20210407T090236,657104",
"lt": "20210407T090236,657104",
"et": "20220407T090236,657145",
"pi": "cse-id",
"ty": 2,
"aei": "C8r12WReyGd"
}
}
servers
:
-
url
:
'
http://cse-address:8080'
servers
:
-
url
:
'
http://cse-address:8080'
This diff is collapsed.
Click to expand it.
OpenAPI/openapi-API-AE2.json
+
3
−
1
View file @
00e7613f
...
...
@@ -66,7 +66,9 @@
"description"
:
"Create AE Response"
,
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
},
"examples"
:
{
"with no rcn or rcn=1 in the request"
:
{
"value"
:
"{
\n
\"
m2m:ae
\"
: {
\n
\"
rn
\"
:
\"
aename
\"
,
\n
\"
api
\"
:
\"
N01.com.company.aename
\"
,
\n
\"
lbl
\"
: [
\"
key1
\"
,
\"
key2
\"
],
\n
\"
rr
\"
: true,
\n
\"
srv
\"
: [
\"
3
\"
],
\n
\"
poa
\"
: [
\"
http://cse-address:8080
\"
],
\n
\"
ri
\"
:
\"
CAdmin
\"
,
\n
\"
ct
\"
:
\"
20210330T153934,791690
\"
,
\n
\"
lt
\"
:
\"
20210330T153934,791690
\"
,
\n
\"
et
\"
:
\"
20220330T153934,791714
\"
,
\n
\"
pi
\"
:
\"
cse-id
\"
,
\n
\"
ty
\"
: 2,
\n
\"
aei
\"
:
\"
CAdmin
\"\n
}
\n
}"
...
...
This diff is collapsed.
Click to expand it.
OpenAPI/LocationAPI.yaml
→
OpenAPI/
openapi-
LocationAPI.yaml
+
0
−
0
View file @
00e7613f
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment