edit-icon download-icon

UpdateLiveSnapshotDetectPornConfig

Last Updated: Mar 16, 2018

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*symbol is supported, indicating all the AppNames under the domain name.

DomainName String Yes www.yourdomain.com

The user domain name.

Interval Integer No 5

Sampling interval.
Range: 5-3600s

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’.
Default value: ‘porn’

Return parameter

Parameters Type Example values Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the job request.

Example

Request example

  1. 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

  1. {
  2. "RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
  3. }

Exception return example

JSON format

  1. {
  2. "Code":"InternalError",
  3. "HostId":"live.aliyuncs.com",
  4. "Message":"The request processing has failed due to some unknown error.",
  5. "RequestId":"6EBD1AC4-C34D-4AE1-963E-B688A228BE31"
  6. }

Error code

For more information about error code of this product, see Error code.

Thank you! We've received your feedback.