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

getDevice #

Gets a device model.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/_/device-manager/models/device/:id
Method: GET

Other protocols #

Copied to clipboard!
{
  "controller": "device-manager/models",
  "action": "getDevice",
  "model": "<device model>"
}

Arguments #

  • model: device model

Response #

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "controller": "device-manager/models",
  "action": "getDevice",
  "requestId": "<unique request identifier>",
  "result": {
    "_id": "<modelId>",
    "_source": {
      // Device model content
    },
  }
}