getDevice #
Gets a device model.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/device-manager/models/device/:model
Method: GET
Other protocols #
{
"controller": "device-manager/models",
"action": "getDevice",
"model": "<device model>"
}
Arguments #
model
: device model
Response #
{
"status": 200,
"error": null,
"controller": "device-manager/models",
"action": "getDevice",
"requestId": "<unique request identifier>",
"result": {
"_id": "<modelId>",
"_source": {
// Device model content
},
}
}
Edit this page on Github(opens new window)