Lists the snapshots of an Iceberg table.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
dlf:ListIcebergSnapshots | get | *All Resource
| None | None |
Request syntax
GET /iceberg/dlf/v1/{catalogId}/namespaces/{namespace}/tables/{table}/snapshots HTTP/1.1Path Parameters
Parameter | Type | Required | Description | Example |
catalogId | string | Yes | The catalog ID. | clg-iceberg-xxxx |
namespace | string | Yes | The namespace name. | namespace_test |
table | string | Yes | The table name. | table_name |
Request parameters
Parameter | Type | Required | Description | Example |
maxResults | integer | No | The maximum number of records to return in a single request. | 1000 |
pageToken | string | No | The pagination token used to retrieve the next page of results. If the response does not return this token, pass an empty string (""). | "" |
Response elements
Element | Type | Description | Example |
object | The response. | ||
| snapshots | array | The list of snapshots. | |
A snapshot. | |||
nextPageToken | string | The pagination token for the next page of results. If this parameter is null, all results have been returned. | E8ABEB1C3DB893D16576269017992F57 |
Examples
Success response
JSON format
{
"snapshots": [
{
"summary": {
"key": "total-records:3"
},
"sequenceNumber": 1,
"timestampMillis": 1750313724369,
"schemaId": 0,
"id": 2443368274334000600,
"addedRows": 20,
"operation": "append",
"parentId": 0
}
],
"nextPageToken": "E8ABEB1C3DB893D16576269017992F57\n"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.