获取OpenSearch应用的数据采集清单。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
opensearch:ListDataCollections |
get |
*DataCollection
|
无 | 无 |
请求语法
GET /v4/openapi/app-groups/{appGroupIdentity}/data-collections HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| appGroupIdentity |
string |
是 |
应用名称 |
my_app_group_name |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| pageNumber |
integer |
否 |
页码,默认 pageNumber = 1 |
1 |
| pageSize |
integer |
否 |
每页返回数目,默认 pageSize = 10 |
10 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| totalCount |
integer |
总条数 |
1 |
| requestId |
string |
请求 ID |
959D8782-B130-95EB-86CC-1F6ED447981F |
| result |
array<object> |
数据采集信息 参考: DataCollection |
|
|
object |
|||
| created |
integer |
创建时间 |
1581065837 |
| dataCollectionType |
string |
数据采集的类型
|
BEHAVIOR |
| type |
string |
数据采集端的类型
注:目前只支持 server |
server |
| industryName |
string |
行业名称
|
GENERAL |
| status |
integer |
状态
|
2 |
| updated |
integer |
更新时间 |
1581065904 |
| name |
string |
数据采集名称 |
os_function_test_v1 |
| sundialId |
string |
sundial 的 ID |
1755 |
| id |
string |
数据采集 ID |
286 |
示例
正常返回示例
JSON格式
{
"totalCount": 1,
"requestId": "959D8782-B130-95EB-86CC-1F6ED447981F",
"result": [
{
"created": 1581065837,
"dataCollectionType": "BEHAVIOR",
"type": "server",
"industryName": "GENERAL",
"status": 2,
"updated": 1581065904,
"name": "os_function_test_v1",
"sundialId": "1755",
"id": "286"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。