Mengkueri konfigurasi otentikasi untuk callback snapshot.
Deskripsi operasi
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.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:QuerySnapshotCallbackAuth |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-shanghai |
| DomainName |
string |
Yes |
Domain streaming. |
example.aliyundoc.com |
Elemen respons
|
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 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD5",
"CallbackAuthKey": "yourkey",
"DomainName": "example.aliyundoc.com",
"CallbackReqAuth": "yes"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParam | %s, please check and try again later. | |
| 500 | InternalError | %s. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.