Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iotivity-lite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
41
Issues
41
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IoTivity
iotivity-lite
Commits
1b5efd90
Commit
1b5efd90
authored
Jun 10, 2020
by
Marek Szkowron
Committed by
Kishen Maloor
Jun 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add /oc/con to client_certification_tests_IDD
parent
a576af0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
0 deletions
+93
-0
apps/client_certification_tests_IDD.cbor
apps/client_certification_tests_IDD.cbor
+0
-0
apps/client_certification_tests_IDD.json
apps/client_certification_tests_IDD.json
+93
-0
No files found.
apps/client_certification_tests_IDD.cbor
View file @
1b5efd90
No preview for this file type
apps/client_certification_tests_IDD.json
View file @
1b5efd90
...
@@ -7,6 +7,48 @@
...
@@ -7,6 +7,48 @@
"application/json"
"application/json"
],
],
"paths"
:{
"paths"
:{
"/oc/con"
:
{
"get"
:
{
"description"
:
"Resource that allows for Device specific information to be configured.
\n
"
,
"parameters"
:
[
{
"$ref"
:
"#/parameters/interface-all"
}
],
"responses"
:
{
"200"
:
{
"description"
:
""
,
"schema"
:
{
"$ref"
:
"#/definitions/Configuration"
}
}
}
},
"post"
:
{
"description"
:
"Update the information about the Device
\n
"
,
"parameters"
:
[
{
"$ref"
:
"#/parameters/interface-rw"
},
{
"name"
:
"body"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"$ref"
:
"#/definitions/ConfigurationUpdate"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
""
,
"schema"
:
{
"$ref"
:
"#/definitions/ConfigurationUpdate"
}
}
}
}
},
"/oic/p"
:{
"/oic/p"
:{
"get"
:{
"get"
:{
"responses"
:{
"responses"
:{
...
@@ -324,6 +366,57 @@
...
@@ -324,6 +366,57 @@
}
}
},
},
"type"
:
"object"
"type"
:
"object"
},
"Configuration"
:
{
"properties"
:
{
"rt"
:
{
"description"
:
"Resource Type of the Resource"
,
"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"
:
"The OCF Interfaces supported by this Resource"
,
"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"
:
"The human friendly name to be set on the Resource, this is also reflected in the same Property in oic.wk.d"
,
"maxLength"
:
64
,
"type"
:
"string"
}
},
"required"
:
[
"n"
],
"type"
:
"object"
}
}
},
},
"info"
:{
"info"
:{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment