Queries the details of a data collection task of an application.
Debugging
Request headers
This operation uses only the common request headers. For more information, see Common request parameters.
Request syntax
GET /v4/openapi/app-groups/[appGroupIdentity]/data-collections/[dataCollectionIdentity] HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
appGroupIdentity | String | Path | Yes | my_app_group_name |
The name of the application. |
dataCollectionIdentity | String | Path | Yes | 286 |
The ID of the data collection task. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
requestId | String | 72FAD77B-83F9-F393-BA8E-5834E2427BF8 |
The ID of the request. |
result | Struct |
The details of the data collection task. |
|
created | Integer | 1581065837 |
The time when the data collection task was created. |
dataCollectionType | String | BEHAVIOR |
The type of the data that is collected by the task. Valid values:
|
id | String | 286 |
The ID of the data collection task. |
industryName | String | GENERAL |
The industry to which the data collection task applies. Valid values:
|
name | String | os_function_test_v1 |
The name of the data collection task. |
status | Integer | 2 |
The status of the data collection task. Valid values:
|
sundialId | String | 1755 |
The ID of the sundial. |
type | String | server |
The type of the data source. Valid values:
|
updated | Integer | 1581065904 |
The time when the data collection task was updated. |
Examples
Sample requests
GET /v4/openapi/app-groups/os_function_test_v1/data-collections/286
Sample success responses
XML
format
<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
format
{
"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
}
}
Error codes
For a list of error codes, visit the API Error Center.