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