Retrieves databases.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
Request syntax
GET /dlf/v1/{catalogId}/databases HTTP/1.1Request 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.