Get info about using certificate for Link remote server MQTT protocol
Returns info about using certificate for Link remote server MQTT protocol
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- uploaded boolean
is custom certificate present on the device
validity_period object
Certificate expiration date status.
is_valid booleantrue if cert on the device is valid
valid_from int64unix timestamp for date of issuing of the certificate
valid_to int64unix timestamp for date of expiry of the certificate
{
"uploaded": true,
"validity_period": {
"is_valid": true,
"valid_from": 1433415878,
"valid_to": 4294967296
}
}
{
"uploaded": true,
"validity_period": {
"is_valid": true,
"valid_from": 1433415878,
"valid_to": 4294967296
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
object containing info about error
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringextended info on error
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}
Loading...