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

listAssets #

Lists asset models.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/_/device-manager/models/assets
Method: GET

Other protocols #

{
  "controller": "device-manager/models",
  "action": "listAssets",
  "engineGroup": "<engineGroup>"
}

Arguments #

  • engineGroup: name of the engine group

Response #

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