-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ogavb edited this page Sep 17, 2019
·
6 revisions
A cut of the Streetlights API to test application header changes supporting
URL | Protocol | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
test.mosquitto.org:{port} | mqtt | Test broker | ||||||||
URL Variables
|
The ID of the streetlight.
Name | Type | Description | Accepted values |
---|---|---|---|
streetlightId |
|
Any |
Inform about environmental lighting conditions of a particular streetlight.
Name | Type | Description | Accepted values |
---|---|---|---|
MQMD |
|
Any | |
MQMD.CorrelId |
|
Any | |
applicationInstanceId |
|
Unique identifier for a given instance of the publishing application |
Any |
{
"MQMD": {
"CorrelId": "stringstringstringstring"
},
"applicationInstanceId": "string"
}
Name | Type | Description | Accepted values |
---|---|---|---|
lumens |
|
Light intensity measured in lumens. |
Any |
sentAt |
|
Date and time when the message was sent. |
Any |
{
"lumens": 0,
"sentAt": "2019-09-17T20:41:49Z"
}