Official Plugins (Kuzzle v2.x)
Device Manager v2.x
2

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 group
  • model: asset model

Response #

{
  "status": 200,
  "error": null,
  "controller": "device-manager/models",
  "action": "getAsset",
  "requestId": "<unique request identifier>",
  "result": {
    "_id": "<modelId>",
    "_source": {
      // Asset model content
    },
  }
}