Queries the authentication configuration for snapshot callbacks.
Operation description
You can call this operation to query the authentication configuration for snapshot callbacks for a streaming domain. Before you call this operation, you must configure authentication. For more information, see Set snapshot callback authentication.
QPS limit
This operation is limited to 30 queries per second (QPS) per user. If you exceed this limit, throttling is triggered, which can affect your services.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:QuerySnapshotCallbackAuth |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The streaming domain. |
example.aliyundoc.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD5 |
| CallbackAuthKey |
string |
The authentication key for callbacks. |
yourkey |
| DomainName |
string |
The streaming domain. |
example.aliyundoc.com |
| CallbackReqAuth |
string |
Indicates whether authentication for callbacks is enabled. Valid values:
|
yes |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD5",
"CallbackAuthKey": "yourkey",
"DomainName": "example.aliyundoc.com",
"CallbackReqAuth": "yes"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParam | %s, please check and try again later. | Parameter is missing, please check and try again. |
| 500 | InternalError | %s. | error on the live liveapi server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.