1. Overview
SymbIoTe CloudCoreInterface Description
1.2. Contact information
Contact : Artur Jaworski
Contact Email : artur.jaworski@man.poznan.pl
1.3. License information
License : GNU Lesser General Public License v3.0
License URL : https://github.com/symbiote-h2020/CloudCoreInterface/blob/master/LICENSE.txt
Terms of service : null
1.4. URI scheme
Host : https://symbiote-open.man.poznan.pl
BasePath : /
2. Resources
2.1. Cloud Core Interface Controller
Operations of Cloud Core Interface Controller
2.1.1. Access notifications handler
POST /cloudCoreInterface/accessNotifications
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Body |
notificationMessage |
Request body, containing notification message |
2.1.2. Device status update
POST /cloudCoreInterface/crm/Monitoring/{platformId}/devices/status
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
platformId |
ID of a platform that the device belongs to |
string |
Body |
cloudMonitoringPlatform |
Current status information that CRM should be notified of |
2.1.3. Clear data
POST /cloudCoreInterface/platforms/{platformId}/clearData
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
platformId |
ID of a platform for which resources should be cleared |
string |
2.1.4. Register resources (RDF)
POST /cloudCoreInterface/platforms/{platformId}/rdfResources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
platformId |
ID of a platform that resources belong to |
string |
Body |
resourceRegistryRequest |
Request body, containing RDF description of resources to register |
2.1.5. Modify resources (RDF)
PUT /cloudCoreInterface/platforms/{platformId}/rdfResources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
platformId |
ID of a platform that resources belong to |
string |
Body |
resourceRegistryRequest |
Request body, containing RDF description of resources to modify |
2.1.6. Delete resources (RDF)
DELETE /cloudCoreInterface/platforms/{platformId}/rdfResources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
platformId |
ID of a platform that resources belong to |
string |
Body |
resourceRegistryRequest |
Request body, containing RDF description of resources to delete |
2.1.7. Create resources (JSON)
POST /cloudCoreInterface/platforms/{platformId}/resources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
platformId |
ID of a platform that resources belong to |
string |
Body |
resourceRegistryRequest |
Request body, containing JSON description of resources to create |
2.1.8. Modify resources (JSON)
PUT /cloudCoreInterface/platforms/{platformId}/resources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
platformId |
ID of a platform that resources belong to |
string |
Body |
resourceRegistryRequest |
Request body, containing JSON description of resources to modify |
2.1.9. Delete resources (JSON)
DELETE /cloudCoreInterface/platforms/{platformId}/resources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
platformId |
ID of a platform that resources belong to |
string |
Body |
resourceRegistryRequest |
Request body, containing JSON description of resources to delete |
2.1.10. Create a smart device
POST /cloudCoreInterface/ssps/{sspId}/sdevs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
sspId |
ID of an SSP |
string |
Body |
sdevRegistryRequest |
Request object describing an sdev |
2.1.11. Modify a smart device
PUT /cloudCoreInterface/ssps/{sspId}/sdevs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
sspId |
ID of an SSP |
string |
Body |
sdevRegistryRequest |
Request object describing an sdev |
2.1.12. Delete a smart device
DELETE /cloudCoreInterface/ssps/{sspId}/sdevs
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
sspId |
ID of an SSP |
string |
Body |
sdevRegistryRequest |
Request object describing an sdev |
2.1.13. Create an SSP resource
POST /cloudCoreInterface/ssps/{sspId}/sdevs/{sdevId}/resources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
sdevId |
ID of an sdev |
string |
Path |
sspId |
ID of an SSP |
string |
Body |
sspResourceRegistryRequest |
Request object describing an ssp resource |
2.1.14. Modify an SSP resource
PUT /cloudCoreInterface/ssps/{sspId}/sdevs/{sdevId}/resources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
sdevId |
ID of an sdev |
string |
Path |
sspId |
ID of an SSP |
string |
Body |
sspResourceRegistryRequest |
Request object describing an ssp resource |
2.1.15. Delete an SSP resource
DELETE /cloudCoreInterface/ssps/{sspId}/sdevs/{sdevId}/resources
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
x-auth-* |
each SecurityCredentials entry header, they are numbered 1..size |
string |
Header |
x-auth-size |
securityCredentials set size header |
string |
Header |
x-auth-timestamp |
timestamp of the request |
string |
Path |
sdevId |
ID of an sdev |
string |
Path |
sspId |
ID of an SSP |
string |
Body |
sspResourceRegistryRequest |
Request object describing an ssp resource |
3. Definitions
3.1. CloudMonitoringDevice
Name | Schema |
---|---|
id |
string |
metrics |
< Metric > array |
3.2. CloudMonitoringPlatform
Name | Schema |
---|---|
metrics |
< CloudMonitoringDevice > array |
platformId |
string |
3.3. FailedAccessMessageInfo
Name | Schema |
---|---|
appId |
string |
code |
string |
issuer |
string |
message |
string |
requestParams |
string |
symbIoTeId |
string |
timestamp |
< string(date-time) > array |
validationStatus |
string |
3.6. NotificationMessage
Name | Schema |
---|---|
failedAttempts |
< FailedAccessMessageInfo > array |
successfulAttempts |
< SuccessfulAccessMessageInfo > array |
successfulPushes |
< SuccessfulPushesMessageInfo > array |
3.7. RDFInfo
Name | Schema |
---|---|
rdf |
string |
rdfFormat |
enum (TURTLE, NTRIPLES, RDFXML, N3, JSONLD) |
3.8. RDFResourceRegistryRequest
Name | Schema |
---|---|
body |
|
filteringPolicies |
< string, IAccessPolicySpecifier > map |
interworkingServiceUrl |
string |
3.9. Resource
Description of a Resource. Can be one of following subclasses: Actuator, Service, ActuatingService, StationarySensor, StationaryDevice, MobileSensor, MobileDevice (consult SymbIoTeLibraries documentation for API).
Name | Schema |
---|---|
description |
< string > array |
id |
string |
interworkingServiceURL |
string |
name |
string |
3.10. ResourceRegistryRequest
Name | Schema |
---|---|
body |
< string, Resource > map |
filteringPolicies |
< string, IAccessPolicySpecifier > map |
3.11. ResourceRegistryResponse
Name | Schema |
---|---|
body |
< string, Resource > map |
message |
string |
status |
integer(int32) |
3.12. ResponseEntity
Name | Schema |
---|---|
body |
object |
statusCode |
enum (100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511) |
statusCodeValue |
integer(int32) |
3.14. SdevRegistryResponse
Name | Schema |
---|---|
body |
|
message |
string |
status |
integer(int32) |
3.15. SspRegInfo
Name | Schema |
---|---|
dk1 |
string |
hashField |
string |
pluginId |
string |
pluginURL |
string |
roaming |
boolean |
sspId |
string |
symId |
string |
3.16. SspResourceRegistryRequest
Name | Schema |
---|---|
body |
< string, Resource > map |
filteringPolicies |
< string, IAccessPolicySpecifier > map |
3.17. SspResourceReqistryResponse
Name | Schema |
---|---|
body |
< string, Resource > map |
message |
string |
status |
integer(int32) |