Summary
Search device groups
Description
Returns device groups that match the specified input
Route
POST /configuration_manager/deviceGroups/query
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
name |
string |
yes |
Search string |
start |
number |
yes |
Offset of page start |
limit |
number |
yes |
Maximum number of items in the page |
options |
object |
no |
- |
Copied to Clipboard
{
"name": "voluptate sit mollit cupidatat magna",
"start": 23361160.329527035,
"limit": 47238034.17329982,
"options": {
"regex": true
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"name": {
"title": "name",
"type": "string"
},
"start": {
"title": "start",
"type": "number"
},
"limit": {
"title": "limit",
"type": "number"
},
"options": {
"title": "options",
"type": "object",
"properties": {
"regex": {
"type": "boolean",
"description": "Enables global regex/substring search."
}
}
}
},
"required": [
"name",
"start",
"limit"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
deviceGroups |
object |
List of device groups that match the search criteria |
Copied to Clipboard
{
"totalCount": 52345214.93945131,
"groups": [
{
"_id": "5c35355dbebaa82eaf8113f0",
"name": "my standard name",
"description": "my standard description",
"devices": [
"xr9kv-atl",
"xr9kv-atl",
"xr9kv-atl",
"xr9kv-atl",
"xr9kv-atl"
]
}
]
}
Copied to Clipboard
{
"title": "deviceGroups",
"type": "object",
"properties": {
"totalCount": {
"type": "number"
},
"groups": {
"type": "array",
"items": {
"$ref": "deviceGroupDocument"
}
}
}
}