You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "stevenzwu (via GitHub)" <gi...@apache.org> on 2026/04/14 23:16:16 UTC

Re: [PR] REST Spec: Events endpoint [iceberg]

stevenzwu commented on code in PR #12584:
URL: https://github.com/apache/iceberg/pull/12584#discussion_r3082999639


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1825,6 +1825,59 @@ paths:
         5XX:
           $ref: '#/components/responses/ServerErrorResponse'
 
+  /v1/{prefix}/events:
+    parameters:
+      - $ref: '#/components/parameters/prefix'
+    post:
+      tags:
+        - Catalog API
+      summary: Get events for changes to catalog objects
+      description: >
+        Returns a sequence of changes to catalog objects (tables, namespaces, views)
+        that allows clients to efficiently track metadata modifications without polling individual
+        resources. Consumers track their progress through a continuation-token, enabling resumable
+        synchronization after downtime or errors.
+
+        This endpoint primarily supports use cases like catalog federation, workflow triggering,
+        and basic audit capabilities.
+
+        The server encodes all necessary state in the token to ensure
+        consistent filtering across pages. Clients should use the returned `continuation-token` for
+        subsequent requests.
+
+        Consumers should be prepared to handle 410 Gone responses when requested sequences are
+        outside the server's retention window. Consumers should also de-duplicate received events based
+        on the event's `event-id`. Consistency guarantees vary between server implementations.

Review Comment:
   nit: remove `event's`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org