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

This plugin is part of the Kuzzle Enterprise Plan. If you are interested, please contact us.

create #

Creates a new device manager engine on an index


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/_/device-manager/engine/:index/[?group]
Method: POST

Other protocols #

Copied to clipboard!
{
  "controller": "device-manager/engine",
  "action": "create",
  "index": "tenant-ayse"
  "group": "tenant-group" //  Optional. Specify the tenant group to apply custom mappings.
}

Kourou #

Copied to clipboard!
kourou device-manager/engine:create <index> [group]

Response #

Returns an object containing the index name and the list of created collections with their mappings.

Copied to clipboard!
{
  "requestId": "d16d5e8c-464a-4589-938f-fd84f46080b9",
  "status": 200,
  "error": null,
  "controller": "device-manager/engine",
  "action": "create",
  "collection": null,
  "index": null,
  "result": { 
    "index": "tenant-ayse",
    "collections": {
      "assets": {
        "properties": {
          // Mappings properties
        }
      },
      // other collections are returned as well
    }
  }
}