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

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
    },
  }
}