All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

GetUserUsageDataExportTask

Last updated:2021-07-20 11:45:42

GetUserUsageDataExportTask

Description

You can call this operation to obtain the information about the usage data export tasks created in the past year.

The result is sorted by creation time with the most recent first.

Request syntax

The API request contains the specified directory /2020-06-30/statistics/GetUserUsageDataExportTask, common request headers, and operation-specific request parameters. For more information, see the sample request.

Request parameters

Parameter Required Type Description
PageSize No Integer The number of entries to return on each page. Default value: 20. Maximum value: 50. Valid value: any integer between 1 and 50.
PageNumber No Integer The page number of the page to return. Valid values: 1 to 100000.

Response parameters

Parameter Type Description
RequestId String The ID of the request, such as 4c48efa2ba244266a73cdd438ad7b764
UsageDataPerPage DataPerPage[] The usage data on the page.

DataPerPage

Parameter Type Description
TotalCount Integer The total number of entries.
PageSize Integer The number of entries returned per page.
PageNumber Integer The page number of the returned page.
DataItem DataItem[] The task information.

DataItem

Parameter Type Description
TaskName String The name of the task.
TaskId String The ID of the task.
CreateTime String The time when the task was created, such as 2016-08-01T21:14+0800.
UpdateTime String The time when the task was last updated, such as 2016-08-01T21:14+0800.
Status String The status of the task. Valid values: waiting, created, success, and failed.
TaskConfig TaskConfig[] The configuration information of the task.
DownloadUrl String The download URL.

TaskConfig

Parameter Type Description
StartTime String The beginning of the time range that is queried.
EndTime String The end of the time range that is queried.

Examples

Sample request

GET method:

GET /2020-06-30/statistics/GetUserUsageDataExportTask?PageSize=10&PageNumber=1
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: GetUserUsageDataExportTask
x-version: 2020-06-30

POST method:

POST /2020-06-30/statistics/GetUserUsageDataExportTask
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: GetUserUsageDataExportTask
x-version: 2020-06-30
Content-Type: application/json
{
    "PageSize":10,
    "PageNumber":1
}

Sample response

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback