Retrieves shared resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:ListShareResources |
get |
*All Resource
|
None | None |
Request syntax
GET /dlf/v1/share/shares/{share}/resources HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| share |
string |
No |
The name of the share. |
share_name |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| pageToken |
string |
No |
The token used to page through results. If this parameter is not returned, pass an empty string (""). |
"" |
| maxResults |
integer |
No |
The maximum number of records to return. |
1000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| catalogId |
string |
The ID of the catalog. |
clg-paimon-xxxx |
| shareResources |
array |
The shared resources. |
|
| ShareResource |
The shared resource. |
||
| nextPageToken |
string |
The token used to page through results. A null value indicates that this is the last page. |
"" |
Examples
Success response
JSON format
{
"catalogId": "clg-paimon-xxxx",
"shareResources": [
{
"shareType": "TABLE",
"databaseName": "database_name",
"tableName": "table_name",
"createdBy": "acs:ram::[accountId]:root",
"updatedBy": "acs:ram::[accountId]:root",
"createdAt": 1744970111419,
"updatedAt": 1744970111419
}
],
"nextPageToken": "\"\""
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.