获取指定应用的数据采集详情
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求头
该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。
请求语法
GET /v4/openapi/app-groups/[appGroupIdentity]/data-collections/[dataCollectionIdentity] HTTP/1.1
请求参数
名称 | 类型 | 位置 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|---|
appGroupIdentity | String | Path | 是 | my_app_group_name |
应用名称 |
dataCollectionIdentity | String | Path | 是 | 286 |
数据采集ID |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
requestId | String | 72FAD77B-83F9-F393-BA8E-5834E2427BF8 |
请求ID |
result | Struct |
数据采集信息 |
|
created | Integer | 1581065837 |
创建时间 |
dataCollectionType | String | BEHAVIOR |
数据采集的类型
|
id | String | 286 |
数据采集ID |
industryName | String | GENERAL |
行业名称
|
name | String | os_function_test_v1 |
数据采集名称 |
status | Integer | 2 |
状态
|
sundialId | String | 1755 |
sundial的ID |
type | String | server |
数据采集端的类型
|
updated | Integer | 1581065904 |
更新时间 |
示例
请求示例
GET /v4/openapi/app-groups/os_function_test_v1/data-collections/286
正常返回示例
XML
格式
<requestId>72FAD77B-83F9-F393-BA8E-5834E2427BF8</requestId>
<result>
<id>286</id>
<name>os_function_test_v1</name>
<type>server</type>
<status>2</status>
<dataCollectionType>BEHAVIOR</dataCollectionType>
<industryName>GENERAL</industryName>
<created>1581065837</created>
<updated>1581065904</updated>
<sundialId>1755</sundialId>
</result>
JSON
格式
{
"requestId": "72FAD77B-83F9-F393-BA8E-5834E2427BF8",
"result": {
"id": 286,
"name": "os_function_test_v1",
"type": "server",
"status": 2,
"dataCollectionType": "BEHAVIOR",
"industryName": "GENERAL",
"created": 1581065837,
"updated": 1581065904,
"sundialId": 1755
}
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交