Kueri daftar tabel
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
Token paginasi |
0 |
| Limit |
integer |
No |
Item per halaman |
10 |
| Catalog |
string |
No |
Katalog data |
my_catalog |
| Namespace |
string |
No |
Namespace |
my_namespace |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
Pesan respons API |
Operation success |
| RequestId |
string |
ID permintaan |
34AD682D-5B91-5773-8132-AA38C130**** |
| Data |
object |
Data respons |
{"Tables":[{"Name":"my_table","Comment":"测试事件表"}],"NextToken":"10","Total":1} |
| Tables |
array |
Entitas tabel. Setiap elemen mewakili tabel tertentu, termasuk namun tidak terbatas pada informasi seperti nama tabel dan ID tabel. |
|
| Table |
Entitas tabel. Setiap elemen mewakili tabel tertentu, termasuk namun tidak terbatas pada informasi seperti nama tabel dan ID tabel. |
||
| NextToken |
string |
Token halaman berikutnya |
10 |
| Total |
integer |
Jumlah total |
1 |
| Code |
string |
Kode respons |
200 |
| Success |
boolean |
Apakah berhasil |
true |
Contoh
Respons sukses
JSONformat
{
"Message": "Operation success",
"RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
"Data": {
"Tables": [
{
"Catalog": "my_catalog",
"Namespace": "my_namespace",
"Name": "my_table",
"Comment": "测试事件表",
"CreateTime": 1717948800000,
"UpdateTime": 1717948800000,
"RetentionPolicy": {
"HotTTL": 7,
"ColdTTL": 30
},
"Columns": [
{
"Name": "id",
"Type": "bigint",
"Comment": "主键ID"
}
]
}
],
"NextToken": "10",
"Total": 1
},
"Code": "200",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.