Description
Update detection configuration interface.
Request parameter
Parameters | Type | Required | Example values | Description |
---|---|---|---|---|
Action | String | Yes | UpdateLiveSnapshotDetectPornConfig | The name of this interface. Value: UpdateLiveSnapshotDetectPornConfig |
AppName | String | Yes | testApp | The app name. The |
DomainName | String | Yes | www.yourdomain.com | The user domain name. |
Interval | Integer | No | 5 | Sampling interval. |
OssBucket | String | No | test123 | Name of the bucket in OSS. |
OssEndpoint | String | No | oss-cn-shanghai.aliyuncs.com | The OSS domain name. |
OssObject | String | No | {AppName}/{StreamName}/{Date}/{Hour}/{Minute}{Second}.jpg | Object template used to save illegal pictures involving politics and porn. If not given explicitly, the template is {AppName}/{StreamName}/{Date}/{Hour}/{Minute}{Second}.jpg. |
Scene.N | RepeatList | No | porn | Detection scenes, including ‘porn’, ‘terrorism’, ‘ad’, ‘qrcode’, ‘live’. |
Return parameter
Parameters | Type | Example values | Description |
---|---|---|---|
RequestId | String | 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 | The ID of the job request. |
Example
Request example
https://live.aliyuncs.com/?Action=UpdateLiveSnapshotDetectPornConfig&DomainName=live.aliyunlive.com&AppName=xxx&Interval=30<Public Request Parameter>
For more information, see Public Request Parameter.
Normal return example
JSON
format
{
"RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Exception return example
JSON
format
{
"Code":"InternalError",
"HostId":"live.aliyuncs.com",
"Message":"The request processing has failed due to some unknown error.",
"RequestId":"6EBD1AC4-C34D-4AE1-963E-B688A228BE31"
}
Error code
For more information about error code of this product, see Error code.