Domain name for API request: cwp.tencentcloudapi.com.
This API is used to obtain the list of log download tasks.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeLogExports. |
Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
Region | No | String | Common Params. This parameter is not required. |
Offset | Yes | Integer | Paging offset. Default value: 0. |
Limit | No | Integer | Number of entries per page. Default value: 20. Maximum value: 100. |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Total number |
Exports | Array of ExportInfo | List of exported logs |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: cwp.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeLogExports
<Common request parameters>
{
"Limit": "10",
"Offset": "0"
}
{
"Response": {
"Exports": [
{
"ExportId": "export-4b905654-7af5-43c1-a111-04c89e029c2a",
"Query": "*",
"FileName": "log_100004506473_c5ad674a-e6cc-4d7d-82e0-e7d7edaae26b_20220629_export-4b905654-7af5-43c1-a111-04c89e029c2a_1656466508.tar.gz",
"FileSize": 97805,
"Order": "desc",
"Format": "json",
"Count": 2240,
"Status": "Completed",
"StartTime": 1656464537652,
"EndTime": 1656466337652,
"CosPath": "https://export-gz-1254077820.cos.ap-guangzhou.myqcloud.com/%2Fexport/20220629/log_100004506473_c5ad674a-e6cc-4d7d-82e0-e7d7edaae26b_20220629_export-4b905654-7af5-43c1-a111-04c89e029c2a_1656466508.tar.gz?q-sign-algorithm=sha1&q-ak=xxxxxxxxxxxxPBtQlw86tt&q-sign-time=1656639828%3B1656643428&q-key-time=1656639828%3B1656643428&q-header-list=host&q-url-param-list=&q-signature=e491e72e50afa2258",
"CreateTime": "2022-06-29 09:35:00"
},
{
"ExportId": "export-9a5f89fc-986b-4b5e-a511-168646949685",
"Query": "*",
"FileName": "log_100004506473_c5ad674a-e6cc-4d7d-82e0-e7d7edaae26b_20220628_export-9a5f89fc-986b-4b5e-a511-168646949685_1656415208.tar.gz",
"FileSize": 9815,
"Order": "desc",
"Format": "json",
"Count": 121,
"Status": "Completed",
"StartTime": 1656408311641,
"EndTime": 1656410111641,
"CosPath": "https://export-gz-1254077820.cos.ap-guangzhou.myqcloud.com/%2Fexport/20220628/log_100004506473_c5ad674a-e6cc-4d7d-82e0-e7d7edaae26b_20220628_export-9a5f89fc-986b-4b5e-a511-168646949685_1656415208.tar.gz?q-sign-algorithm=sha1&q-ak=xxxxxxxxBtQlw86tt&q-sign-time=1656639828%3B1656643428&q-key-time=1656639828%3B1656643428&q-header-list=host&q-url-param-list=&q-signature=b338dbd1685e5ea3f",
"CreateTime": "2022-06-28 19:19:46"
}
],
"RequestId": "05db17be-ba35-467f-b903-51f66d2d1def",
"TotalCount": 2
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
この記事はお役に立ちましたか?