Meta Info Action
Meta Info Action
Requestβ
GET /api/meta/namespaces/<ns>/databases
GET /api/meta/namespaces/<ns>/databases/<db>/tables
GET /api/meta/namespaces/<ns>/databases/<db>/tables/<tbl>/schema
Descriptionβ
Used to obtain metadata information about the cluster, including the database list, table list, and table schema.
Path parametersβ
ns
Specify cluster name.
db
Specify database name.
tbl
Specify table name.
Query parametersβ
None
Request bodyβ
None
Responseβ
{
"msg":"success",
"code":0,
"data":["database list" / "table list" / "table schema"],
"count":0
}