edit-icon download-icon

AddLiveRecordNotifyConfig

Last Updated: Mar 19, 2018

Description

Add a domain name-level record callback configuration.

Request parameters

Parameters Type Required Example values Description
Action String Yes AddLiveRecordNotifyConfig

The name of this interface. Value: AddLiveRecordNotifyConfig

DomainName String Yes www.yourdomain.com

Your CDN domain name.

NotifyUrl String Yes http://www.yourdomain.cn/examplecallback.action

Callback URL address.

  • Must start with http:// or https://.
  • Needs to be URL encoded.

NeedStatusNotify Boolean No false

Whether the reocording task status needs to be callback, possible value is true/false.
Default value: false

Return parameters

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=AddLiveRecordNotifyConfig&DomainName=test101.cdnpe.com&NotifyUrl=http://xxx<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.