sungwy commented on code in PR #18254:
URL: https://github.com/apache/iceberg/pull/18254#discussion_r4382487129
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1439,6 +1429,58 @@ paths:
5XX:
$ref: '#/components/responses/ServerErrorResponse'
+ /v1/{prefix}/namespaces/{namespace}/tables/{table}/sign/batch:
+ parameters:
+ - $ref: '#/components/parameters/prefix'
+ - $ref: '#/components/parameters/namespace'
+ - $ref: '#/components/parameters/table'
+ - $ref: '#/components/parameters/data-access'
+
+ post:
+ tags:
+ - Catalog API
+ summary: Remotely signs a batch of requests to object storage
+ operationId: batchSignRequests
+ description:
+ Signs a batch of requests to object storage on the client's behalf.
+
+
+ A client should use `sign-batch-max-size` from the table's
`RemoteSigningConfig` as the
+ maximum number of elements in a batch.
+
+
+ A 200 response means the batch was processed. Each element of
`requests` is reported once,
+ by its 0-based index, in either `completed` or `failed`.
+
+
+ `X-Iceberg-Access-Delegation` applies to the batch as a whole.
Review Comment:
I think it would be helpful to link this section to
https://github.com/apache/iceberg/pull/18080/changes#r4361418141 once 18080 is
merged.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]