All Products
Document Center


Last Updated: Mar 16, 2018


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

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

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.


Request example

  1.<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":"",
  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.