ListDatabases

更新时间:
复制 MD 格式

Retrieves databases.

Try it now

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /dlf/v1/{catalogId}/databases HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

catalogId

string

Yes

The ID of the catalog.

clg-paimon-xxx

maxResults

integer

No

The maximum number of records to return in a single request.

1000

pageToken

string

No

The token for the next page of results. If the response does not provide a token, pass an empty string ("").

""

databaseNamePattern

string

No

The database name pattern for fuzzy matching.

database%

Response elements

Element

Type

Description

Example

object

The response body.

nextPageToken

string

The token for the next page of results. A null value indicates that this is the last page.

E8ABEB1C3DB893D16576269017992F57

databases

array

The databases.

string

The database name.

database_name

Examples

Success response

JSON format

{
  "nextPageToken": "E8ABEB1C3DB893D16576269017992F57",
  "databases": [
    "database_name"
  ]
}

Error codes

See for a complete list.

Release notes

See 变更详情 for a complete list.