DescribeOssStockTaskSetting
Retrieves the configuration of an existing inventory scan task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:DescribeOssStockTaskSetting |
get |
*OssStockTask
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The primary key ID. |
3744 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CallbackName |
string |
The callback name. |
xx |
| videoScanLimit |
integer |
The maximum number of videos to scan. |
100 |
| AudioAutoFreezeOpened |
boolean |
Indicates whether audio files need to be frozen. |
false |
| EndDate |
string |
The end time in the format of YYYY-MM-DD HH:mm:ss (default time zone: UTC+08:00). |
2023-10-21 16:08:38 +0800 |
| VideoOpened |
boolean |
Indicates whether video scanning is enabled. Valid values:
|
true |
| AudioOpened |
boolean |
Indicates whether audio scanning is enabled. Valid values:
|
true |
| audioScanLimit |
integer |
The maximum number of audio files to scan. |
11 |
| StartDate |
string |
The start time in the format of YYYY-MM-DD HH:mm:ss (default time zone: UTC+08:00). |
2023-08-21 16:08:38 +0800 |
| ImageOpened |
boolean |
Indicates whether image scanning is enabled. Valid values:
|
true |
| ImageAutoFreezeOpened |
boolean |
Indicates whether image files need to be frozen. |
true |
| VideoMaxFrames |
integer |
The maximum number of frames captured per video. |
100 |
| CallbackId |
integer |
The callback notification ID. |
1664 |
| ScanImageNoFileType |
boolean |
Indicates whether to scan files without extensions. |
true |
| AutoFreezeType |
string |
The freeze method. |
acl |
| RequestId |
string |
The request ID. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
| VideoAutoFreezeOpened |
boolean |
Indicates whether video files need to be frozen. |
true |
| VideoFrameInterval |
integer |
The frame capture frequency. |
1 |
| videoMaxSize |
integer |
The maximum size of a single video. |
100 |
| imageScanLimit |
integer |
The maximum number of images to scan. |
100 |
| AudioMaxSize |
integer |
The maximum size of a single audio file. |
200 |
| ImageScenes |
array |
The list of image moderation scenarios. |
|
|
string |
The list of image moderation scenarios. |
[\"ad\",\"terrorism\",\"live\",\"porn\"] |
|
| VideoScenes |
array |
The list of video moderation scenarios. |
|
|
string |
The list of video moderation scenarios. |
[\"ad\",\"terrorism\",\"live\",\"porn\"] |
|
| AudioScenes |
array |
The list of audio moderation scenarios. |
|
|
string |
The list of audio moderation scenarios. |
[\"antispam\"] |
|
| ImagePornFreezeConfig |
object |
The freeze configuration for image pornography detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| ImageTerrorismFreezeConfig |
object |
The freeze configuration for image terrorism detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| ImageAdFreezeConfig |
object |
The freeze configuration for image ad detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| ImageLiveFreezeConfig |
object |
The freeze configuration for image objectionable scene detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| VideoPornFreezeConfig |
object |
The freeze configuration for video pornography detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| VideoTerrorismFreezeConfig |
object |
The freeze configuration for video terrorism detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| VideoAdFreezeConfig |
object |
The freeze configuration for video ad detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| VideoLiveFreezeConfig |
object |
The freeze configuration for video objectionable scene detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| VideoVoiceAntispamFreezeConfig |
object |
The freeze configuration for video voice antispam detection. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| AudioAntispamFreezeConfig |
object |
The list of audio antispam freeze scenarios. |
|
| Type |
string |
The type. |
suggestion |
| Value |
string |
The value. |
block |
| BizTypeTemplate |
object |
The business scenario template. |
|
| Name |
string |
The name. |
test |
| Description |
string |
The description. |
mgst |
| BizType |
string |
The business scenario. |
default |
| ImageConfig |
object |
The image configuration. |
|
| Terrorism |
object |
The terrorism detection configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| Porn |
object |
The pornography detection configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| Ad |
object |
The advertisement detection configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| Live |
object |
The objectionable scene detection configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| VideoConfig |
object |
The video configuration. |
|
| Terrorism |
object |
The terrorism detection configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| Porn |
object |
The pornography detection configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| Ad |
object |
The advertisement detection configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| Live |
object |
The objectionable scene detection configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| VoiceConfig |
object |
The voice configuration. |
|
| Antispam |
object |
The text antispam configuration. |
|
| Categories |
array |
The categories. |
|
|
string |
The categories. |
[] |
|
| Buckets |
array<object> |
The storage buckets. |
|
|
object |
The storage buckets. |
||
| Type |
string |
The filter condition type. |
include |
| Selected |
boolean |
Indicates whether the OSS bucket is selected. |
true |
| Bucket |
string |
The storage buckets. |
tctest |
| Prefixes |
array |
The prefixes. |
|
|
string |
The prefixes. |
["img/test_"] |
Examples
Success response
JSON format
{
"CallbackName": "xx",
"videoScanLimit": 100,
"AudioAutoFreezeOpened": false,
"EndDate": "2023-10-21 16:08:38 +0800\n",
"VideoOpened": true,
"AudioOpened": true,
"audioScanLimit": 11,
"StartDate": "2023-08-21 16:08:38 +0800\n",
"ImageOpened": true,
"ImageAutoFreezeOpened": true,
"VideoMaxFrames": 100,
"CallbackId": 1664,
"ScanImageNoFileType": true,
"AutoFreezeType": "acl",
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
"VideoAutoFreezeOpened": true,
"VideoFrameInterval": 1,
"videoMaxSize": 100,
"imageScanLimit": 100,
"AudioMaxSize": 200,
"ImageScenes": [
"[\\\"ad\\\",\\\"terrorism\\\",\\\"live\\\",\\\"porn\\\"]"
],
"VideoScenes": [
"[\\\"ad\\\",\\\"terrorism\\\",\\\"live\\\",\\\"porn\\\"]"
],
"AudioScenes": [
"[\\\"antispam\\\"]"
],
"ImagePornFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"ImageTerrorismFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"ImageAdFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"ImageLiveFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"VideoPornFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"VideoTerrorismFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"VideoAdFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"VideoLiveFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"VideoVoiceAntispamFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"AudioAntispamFreezeConfig": {
"Type": "suggestion",
"Value": "block"
},
"BizTypeTemplate": {
"Name": "test",
"Description": "mgst",
"BizType": "default",
"ImageConfig": {
"Terrorism": {
"Categories": [
"[]"
]
},
"Porn": {
"Categories": [
"[]"
]
},
"Ad": {
"Categories": [
"[]"
]
},
"Live": {
"Categories": [
"[]"
]
}
},
"VideoConfig": {
"Terrorism": {
"Categories": [
"[]"
]
},
"Porn": {
"Categories": [
"[]"
]
},
"Ad": {
"Categories": [
"[]"
]
},
"Live": {
"Categories": [
"[]"
]
}
},
"VoiceConfig": {
"Antispam": {
"Categories": [
"[]"
]
}
}
},
"Buckets": [
{
"Type": "include",
"Selected": true,
"Bucket": "tctest",
"Prefixes": [
"[\"img/test_\"]\n"
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.