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.
|
NeedStatusNotify | Boolean | No | false | Whether the reocording task status needs to be callback, possible value is true/false. |
Return parameters
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=AddLiveRecordNotifyConfig&DomainName=test101.cdnpe.com&NotifyUrl=http://xxx<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.