Mengkueri daftar kelompok Paket untuk pengguna tertentu.
Deskripsi operasi
QPS limits
The single-user QPS limit for this API is 100 queries per second. If this limit is exceeded, API calls will be throttled, which may affect your business. You can call this API at a reasonable rate. For more information, see QPS limits.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:ListMessageGroup |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
No |
ID pengguna, yang disesuaikan oleh pengguna dan harus unik dalam suatu AppId. Pengguna yang berbeda harus menggunakan UserId yang berbeda. Catatan
Anda harus menentukan parameter ini dengan benar untuk melakukan kueri normal. |
de1**a0 |
| AppId |
string |
No |
ID aplikasi Interactive Messages. Catatan
Anda harus menentukan parameter ini dengan benar untuk melakukan kueri normal. |
VKL3*** |
| SortType |
integer |
No |
Metode Pengurutan. Nilai valid:
|
1 |
| PageNum |
integer |
Yes |
Nomor halaman. Nilai default: 1. Nilai valid: 1 hingga 100000. |
10 |
| PageSize |
integer |
Yes |
Jumlah kelompok Paket yang ditampilkan per halaman. Nilai default: 20. Nilai valid: 1 hingga 50. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID. |
16A96B9A-****-CB92E68F4CD8 |
| Result |
object |
Return result. |
|
| GroupList |
array<object> |
Message group list. |
|
|
array<object> |
Message group details. |
||
| AppId |
string |
Interactive Messages application ID. |
VKL3*** |
| CreateTime |
integer |
UTC timestamp when the message group was created. |
1502280113 |
| CreatorId |
string |
Creator ID. |
as****hs |
| Extension |
object |
Extension field. |
|
|
string |
Extension field. |
test001 |
|
| GroupId |
string |
Message group ID. |
AE35-****-T95F |
| Status |
integer |
Message group status. The default value is 1, indicating that the message group status is normal. |
1 |
| HasMore |
boolean |
Indicates whether there is a next page. Valid values:
|
false |
| Total |
integer |
Total number of message groups. |
5 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16A96B9A-****-CB92E68F4CD8",
"Result": {
"GroupList": [
{
"AppId": "VKL3***",
"CreateTime": 1502280113,
"CreatorId": "as****hs",
"Extension": {
"key": "test001"
},
"GroupId": "AE35-****-T95F",
"Status": 1
}
],
"HasMore": false,
"Total": 5
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.