查询指定设备标签的详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DeviceGroupId |
string |
是 |
设备标签 ID。取值来源:
|
device-group-5191cf830a5e**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
BE4FB974-11BC-5453-9BE1-1606A73EACA6 |
| DeviceGroup |
object |
设备标签详情。 |
|
| Name |
string |
设备标签名称。 |
autotest_a1b2bfd0 |
| Description |
string |
设备标签描述。 |
Test device group description |
| DeviceGroupId |
string |
设备标签 ID。 |
device-group-5191cf830a5e**** |
| IsDefault |
string |
是否为系统内置设备标签。取值:
枚举值:
|
true |
| MatchDevTags |
array |
设备标签已关联的终端设备 ID 集合。 |
|
|
string |
设备标签已关联的终端设备 ID。 |
36efa42d-2c32-c4dc-e3fc-8541e33a**** |
|
| GroupType |
string |
设备标签类型。取值:
枚举值:
|
static |
DynamicOperator
deprecated
|
string |
动态设备组规则算子。 |
AND |
| DynamicRule | Rule |
动态设备标签的匹配规则。 |
示例
正常返回示例
JSON格式
{
"RequestId": "BE4FB974-11BC-5453-9BE1-1606A73EACA6",
"DeviceGroup": {
"Name": "autotest_a1b2bfd0",
"Description": "Test device group description",
"DeviceGroupId": "device-group-5191cf830a5e****",
"IsDefault": "true",
"MatchDevTags": [
"36efa42d-2c32-c4dc-e3fc-8541e33a****"
],
"GroupType": "static",
"DynamicOperator": "AND",
"DynamicRule": {
"Id": "1361",
"RuleType": "device_info",
"RuleSubType": "windows",
"Name": "mac",
"Operator": "equal",
"Values": [
"windows"
],
"Combinator": "AND",
"Rules": [
{
"Id": "1361",
"RuleType": "device_info",
"RuleSubType": "windows",
"Name": "mac",
"Operator": "equal",
"Values": [
"windows"
],
"Combinator": "AND",
"Rules": [
{
"Id": "1361",
"RuleType": "device_info",
"RuleSubType": "windows",
"Name": "mac",
"Operator": "equal",
"Values": [
"windows"
],
"Combinator": "AND",
"Rules": []
}
]
}
]
}
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。