Returns the names of views.
Try it now
Test
RAM authorization
Request syntax
GET /dlf/v1/{catalogId}/databases/{database}/views HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| catalogId |
string |
Yes |
The ID of the data catalog. |
clg-paimon-xxx |
| database |
string |
Yes |
The name of the database. |
database_name |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| maxResults |
integer |
No |
The maximum number of records to return. |
1000 |
| pageToken |
string |
No |
The token to retrieve the next page of results. If the response does not include this token, pass an empty string (""). |
"" |
| viewNamePattern |
string |
No |
The pattern used to filter view names. |
view% |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ListViewsResponse |
||
| views |
array |
A list of view names. |
|
|
string |
The name of the view. |
view_name |
|
| nextPageToken |
string |
The token to retrieve the next page of results. A null value indicates that this is the last page. |
E8ABEB1C3DB893D16576269017992F57 |
Examples
Success response
JSON format
{
"views": [
"view_name"
],
"nextPageToken": "E8ABEB1C3DB893D16576269017992F57\n"
}
Error codes
See for a complete list.
Release notes
See Release Notes for a complete list.