DescribeOssConfiguration
Retrieves the OSS scan task configuration.
Operation description
Billing: This operation is free of charge.
Query timeout: Set the query interval to 480 seconds (query results 480 seconds after submitting an asynchronous scan task). The maximum query period is 3 days. Results are automatically deleted after 3 days.
The queries per second (QPS) limit for a single user is 100. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:DescribeOssConfiguration |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Code |
integer |
The return code. A value of 200 indicates success. |
200 |
| Msg |
string |
The description of the error code. |
OK |
| Data |
object |
The returned data. |
|
| RequestId |
string |
The request ID. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
| InvalidTaskIds |
string |
The invalid task IDs. |
xxx |
| ValidIncScanUsers |
array<object> |
The list of valid user scan configurations. |
|
|
array<object> |
The scan configuration object. |
||
| Uid |
string |
User UID |
123xxxxxxxx |
| Buckets |
array |
Bucket list |
|
|
string |
Bucket name |
test_bucket |
|
| Scenes |
array |
List of scan scenarios |
|
|
string |
Scan scenario |
porn |
|
| ImageScenes |
array |
Image scan scenarios |
|
|
string |
Image scan scenario |
porn |
|
| ImageConf |
object |
Image scan configuration |
|
| Interval |
integer |
Frame interval |
1 |
| MaxFrames |
integer |
Maximum number of frames |
3 |
| ScanImageNoFileType |
boolean |
Scan image files without file extensions |
true |
| VideoScenes |
array |
Video scanning scenarios |
|
|
string |
Video scanning scenario |
porn |
|
| VideoConf |
object |
Video scanning configuration |
|
| Interval |
integer |
Frame capture frequency, unit: seconds per frame |
3 |
| MaxFrames |
integer |
Maximum number of frames per video |
999 |
| MaxSize |
integer |
Maximum size of a single video |
104857600 |
| AudioScenes |
array |
List of audio scanning scenarios |
|
|
string |
Audio scanning scenario |
antispam |
|
| AudioConf |
object |
Audio detection configuration |
|
| Interval |
integer |
Frame capture interval |
10 |
| MaxFrames |
integer |
Maximum number of frames |
10 |
| MaxSize |
integer |
Maximum size of a single audio file |
10485760 |
| BucketInfos |
array<object> |
List of bucket information |
|
|
object |
Bucket information object |
||
| BucketName |
string |
Bucket name |
test_bucket |
| Prefixes |
array |
Prefix matching configuration |
|
|
string |
Prefix |
test/ |
|
| Region |
string |
Region |
cn-shanghai |
| Type |
string |
Prefix matching rule, exclude: does not include, include: includes |
include |
| BizType |
string |
Biz type |
recommend_standard_template_01 |
| RequestId |
string |
The request ID. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
Examples
Success response
JSON format
{
"Code": 200,
"Msg": "OK",
"Data": {
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
"InvalidTaskIds": "xxx",
"ValidIncScanUsers": [
{
"Uid": "123xxxxxxxx",
"Buckets": [
"test_bucket"
],
"Scenes": [
"porn"
],
"ImageScenes": [
"porn"
],
"ImageConf": {
"Interval": 1,
"MaxFrames": 3,
"ScanImageNoFileType": true
},
"VideoScenes": [
"porn"
],
"VideoConf": {
"Interval": 3,
"MaxFrames": 999,
"MaxSize": 104857600
},
"AudioScenes": [
"antispam"
],
"AudioConf": {
"Interval": 10,
"MaxFrames": 10,
"MaxSize": 10485760
},
"BucketInfos": [
{
"BucketName": "test_bucket",
"Prefixes": [
"test/"
],
"Region": "cn-shanghai",
"Type": "include"
}
],
"BizType": "recommend_standard_template_01"
}
]
},
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.