GetStockOssCheckTasksList
Queries the list of OSS scan tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:GetStockOssCheckTasksList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
No |
The start time. Format: YYYY-MM-DD HH:mm:ss. |
2023-06-17 02:08:00 |
| EndTime |
string |
No |
The end time. Format: YYYY-MM-DD HH:mm:ss. |
2023-06-18 02:08:00 |
| MediaType |
integer |
No |
The media asset type. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| CurrentPage |
integer |
No |
The current page number. |
1 |
| Sort |
object |
No |
The sort field. |
{"StartTime":"desc"} |
|
string |
No |
The sort field. |
{} |
|
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| IsInc |
boolean |
No |
Specifies whether the task is a scheduled scan task. |
false |
| TaskType |
string |
No |
The task type. |
batch |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The ID assigned by the backend to uniquely identify a request. You can use this ID to troubleshoot issues. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
| TotalCount |
integer |
The total number of records. |
10 |
| PageSize |
integer |
The number of entries per page. |
10 |
| CurrentPage |
integer |
The current page number. |
1 |
| Items |
array<object> |
The data on the current page. |
|
|
array<object> |
The data on the current page. |
||
| TaskId |
string |
The task ID. |
P_XHDUS |
| TaskName |
string |
The task name. |
Image scheduled task 20231205135716797 |
| Buckets |
string |
The buckets. |
tmp |
| Status |
integer |
The task status. |
4 |
| StartTime |
string |
The start time. Format: YYYY-MM-DD HH:mm:ss. |
2023-12-21 15:30:19 |
| EndTime |
string |
The end time. Format: YYYY-MM-DD HH:mm:ss. |
2024-01-10 11:42:31 |
| SearchNum |
integer |
The number of scan tasks. |
10 |
| FinishNum |
integer |
The number of completed items. |
2 |
| MediaType |
integer |
The media asset type. |
1 |
| Config |
object |
The configuration. |
|
| ScanNoFileType |
boolean |
Specifies whether to scan images without file name extensions. |
true |
| ScanService |
array |
The code of the scan service. |
|
|
string |
The code of the scan service. |
baselineCheck |
|
| DistinctHistoryTasks |
boolean |
Specifies whether to deduplicate historically scanned tasks. |
false |
| StartTime |
string |
The start time. Format: YYYY-MM-DD HH:mm:ss. |
2023-12-21 15:30:19 |
| EndTime |
string |
The end time. Format: YYYY-MM-DD HH:mm:ss. |
2024-01-10 11:42:31 |
| ScanLimit |
integer |
The scan limit. |
10 |
| PrefixFilterType |
string |
The prefix filter type. |
all |
| PrefixFilters |
array |
The prefixes. |
|
|
string |
The prefixes. |
dir1,dir2 |
|
| Priority |
integer |
The priority. |
1 |
| TaskCycle |
integer |
The scheduling date. The value is an integer, such as 1. |
0 |
| ExecuteTime |
string |
The expected execution time of the scheduled task. Format: HH:mm:ss. |
02:00:00 |
| ExecuteDate |
integer |
The execution date of the scheduled task. The value is an integer, such as 1. |
1 |
| ScanResourceType |
integer |
The type of files to scan. |
0 |
| ScanServiceInfos |
array<object> |
The scan service information. |
|
|
object |
|||
| IsCopy |
boolean |
Specifies whether to copy. |
false |
| ServiceCode |
string |
The service code. |
baselineCheck_01 |
| ServiceName |
string |
The service name. |
General baseline check |
| CopyFrom |
string |
The primary service. |
baselineCheck |
| CallbackId |
integer |
The callback notification ID. |
3942 |
| Freeze |
boolean |
Specifies whether to freeze. |
false |
| FreezeType |
string |
The freeze type. |
ACL |
| FreezeHighRisk1 |
boolean |
Specifies whether to freeze high-risk images. |
true |
| FreezeMediumRisk1 |
boolean |
Specifies whether to freeze medium-risk images. |
true |
| FreezeHighRisk2 |
boolean |
Specifies whether to freeze high-risk audio and text files. |
true |
| FreezeMediumRisk2 |
boolean |
Specifies whether to freeze medium-risk audio and text files. |
true |
| FreezeRestorePath |
string |
The transfer path. |
/backup |
| UserFreezeConfig |
object |
The manual freeze configuration. |
|
| FreezeType |
string |
The freeze type. |
ACL |
| FreezeRestorePath |
string |
The transfer path. |
/backup |
| Referer |
string |
The Referer header for hotlink protection. |
https://www.aliyun.com/ |
| ObjectNum |
integer |
The total number of files in the bucket. |
10 |
| NextExecuteDate |
string |
The last execution time of the scheduled task. Format: HH:mm:ss. |
02:00:00 |
| LastExecuteDate |
string |
The next execution time of the scheduled task. Format: HH:mm:ss. |
02:00:00 |
| IsInc |
boolean |
Specifies whether the task is a scheduled scan task. |
false |
| TaskType |
string |
The task type. |
batch |
Examples
Success response
JSON format
{
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
"TotalCount": 10,
"PageSize": 10,
"CurrentPage": 1,
"Items": [
{
"TaskId": "P_XHDUS",
"TaskName": "ImageScheduledTask20231205135716797",
"Buckets": "tmp",
"Status": 4,
"StartTime": "2023-12-21 15:30:19",
"EndTime": "2024-01-10 11:42:31",
"SearchNum": 10,
"FinishNum": 2,
"MediaType": 0,
"Config": {
"ScanNoFileType": true,
"ScanService": [
"baselineCheck"
],
"DistinctHistoryTasks": false,
"StartTime": "2023-12-21 15:30:19",
"EndTime": "2024-01-10 11:42:31",
"ScanLimit": 10,
"PrefixFilterType": "all",
"PrefixFilters": [
"dir1,dir2"
],
"Priority": 1,
"TaskCycle": 0,
"ExecuteTime": "02:00:00",
"ExecuteDate": 1,
"ScanResourceType": 0,
"ScanServiceInfos": [
{
"IsCopy": false,
"ServiceCode": "baselineCheck_01",
"ServiceName": "General baseline detection.",
"CopyFrom": "baselineCheck"
}
],
"CallbackId": 3942,
"Freeze": false,
"FreezeType": "ACL",
"FreezeHighRisk1": true,
"FreezeMediumRisk1": true,
"FreezeHighRisk2": true,
"FreezeMediumRisk2": true,
"FreezeRestorePath": "/backup",
"UserFreezeConfig": {
"FreezeType": "ACL",
"FreezeRestorePath": "/backup\n"
},
"Referer": "*"
},
"ObjectNum": 10,
"NextExecuteDate": "02:00:00\n",
"LastExecuteDate": "02:00:00\n",
"IsInc": false,
"TaskType": "batch"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.