Get a Value
POST/v1/valuestore/getValue
Get a value from the valuestore.
MQTT Topic
$anedya/device/{deviceid}/valuestore/getValue/json
Request
- application/json
Body
reqId string
namespace objectrequired
scope stringrequired
Possible values: [global
, self
]
id string
key stringrequired
Responses
- 2XX
Success
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
reqId string
success boolean
error string
errorcode string
namespace object
scope string
Possible values: [global
, self
]
id string
key string
value object
oneOf
string
boolean
number
type string
{
"reqId": "string",
"success": true,
"error": "string",
"errorcode": "string",
"namespace": {
"scope": "global",
"id": "string"
},
"key": "string",
"value": "string",
"type": "string"
}
Loading...