Modifies the configuration of snapshot callbacks.
QPS limit
You can call this operation up to 30 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limit on an API operation in ApsaraVideo Live.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateLiveSnapshotNotifyConfig |
The operation that you want to perform. Set the value to UpdateLiveSnapshotNotifyConfig. |
DomainName | String | Yes | ww.yourdomain***.com |
The main streaming domain. |
NotifyUrl | String | No | http://callback.yourdomain***.com |
The callback URL. Specify a valid URL that is up to 500 characters in length. |
NotifyReqAuth | String | No | yes |
Specifies whether to enable callback authentication. Valid values:
Note Default value: no. If you set this parameter to yes, the NotifyAuthKey parameter is required.
|
NotifyAuthKey | String | No | yourkey |
The callback authentication key. The key can be 16 to 32 characters in length and can contain only letters and digits. Note This parameter is required if you set the NotifyReqAuth parameter to yes.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | A3136B58-5876-5A93-83CA-B562781981A0 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=UpdateLiveSnapshotNotifyConfig
&DomainName=ww.yourdomain***.com
&NotifyUrl=http://callback.yourdomain***.com
&NotifyReqAuth=yes
&NotifyAuthKey=yourkey
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateLiveSnapshotNotifyConfigResponse>
<RequestId>A3136B58-5876-5A93-83CA-B562781981A0</RequestId>
</UpdateLiveSnapshotNotifyConfigResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "A3136B58-5876-5A93-83CA-B562781981A0"
}
Error codes
For a list of error codes, see Service error codes.