getMetadataReferential #
Gets the metadata referential: the metadata that asset, device and group models can reference by name.
See Metadata Referential.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/device-manager/models/metadata
Method: GETOther protocols #
{
"controller": "device-manager/models",
"action": "getMetadataReferential"
}Response #
{
"status": 200,
"error": null,
"controller": "device-manager/models",
"action": "getMetadataReferential",
"requestId": "<unique request identifier>",
"result": {
"operatingStatus": {
"mappings": { "type": "keyword" },
"locales": {
"en": { "friendlyName": "Status", "description": "Operating status" }
},
"editorHint": { "type": "optionSelector", "values": ["active", "inactive"] },
"defaultValue": "active",
"icon": "power-off",
"managed": true // Registered from code: cannot be modified or deleted through the API
}
}
}