edit-icon download-icon

DescribeLiveSnapshotDetectPornConfig

Last Updated: Apr 11, 2018

Description

Query detection configuration.

Request parameter

Parameters Type Required Example values Description
Action String Yes DescribeLiveSnapshotDetectPornConfig

The name of this interface. Value: DescribeLiveSnapshotDetectPornConfig

DomainName String Yes www.yourdomain.com

The user domain name.

AppName String No testApp

The app name. If not provided, it indicates all the app names under the domain name.

Order String No asc

Sort.

  • Asc: ascending.
  • Desc: descending.
Default value: Asc

PageNum Integer No 1

The page number.
Default value: 1

PageSize Integer No 10

The page size.
Range: [5,30]
Default value: 10

Return parameter

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

The ID of the job request.

LiveSnapshotDetectPornConfigList

Detection configuration occurs only when the parameter is returned correctly.

  └DomainName String live.aliyunlive.com

The user domain name.

  └AppName String xxx02

The app name.

  └Interval Integer 80

Sampling interval.

  └OssEndpoint String oss-cn-shanghai.aliyuncs.com

The name of OSS endpoint.

  └OssBucket String test123

Name of the bucket in OSS.

  └OssObject String {AppName}/{StreamName}/{Date}/{Hour}/{Minute}_{Second}.jpg

The name of OSS Object.

  └Scenes String porn

Detection scenes, including ‘porn’, ‘terrorism’, ‘ad’, ‘live’.
Default value: ‘porn’

PageNum Integer 1

The page number.

PageSize Integer 2

The page size.

Order String desc

Sort.

TotalPage Integer 11

The total number of pages.

TotalNum Integer 6

The total number of eligible items.

Example

Request example

  1. https://live.aliyuncs.com/?Action=DescribeLiveSnapshotDetectPornConfig&DomainName=live.aliyunlive.com&AppName=xxx<Public Request Parameter>

For more information, see Public Request Parameter.

Normal return example

JSON format

  1. {
  2. "LiveSnapshotDetectPornConfigList":{
  3. "LiveSnapshotDetectPornConfig":[
  4. {
  5. "AppName":"xxx01",
  6. "DomainName":"live.aliyunlive.com",
  7. "Interval":80,
  8. "OssBucket":"bucket",
  9. "OssEndpoint":"oss-cn-hangzhou.aliyuncs.com",
  10. "OssObject":"{AppName}/{StreamName}/{Date}/{Hour}/{Minute}_{Second}.jpg"
  11. },
  12. {
  13. "AppName":"xxx02",
  14. "DomainName":"live.aliyunlive.com",
  15. "Interval":80,
  16. "OssBucket":"bucket",
  17. "OssEndpoint":"oss-cn-hangzhou.aliyuncs.com",
  18. "OssObject":"{AppName}/{StreamName}/{Date}/{Hour}/{Minute}_{Second}.jpg"
  19. }
  20. ]
  21. },
  22. "Order":"desc",
  23. "PageNum":1,
  24. "PageSize":2,
  25. "RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
  26. "TotalNum":11,
  27. "TotalSize":6
  28. }

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.