danielcweeks commented on code in PR #18254:
URL: https://github.com/apache/iceberg/pull/18254#discussion_r4361292314


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -5854,6 +5513,104 @@ components:
         headers:
           $ref: '#/components/schemas/MultiValuedMap'
 
+    RemoteSignBatchRequest:
+      description: >
+        A batch of requests to be signed remotely. `region`, `method`, 
`provider` and
+        `properties` apply to every element of `requests`.
+      type: object
+      required:
+        - region
+        - method
+        - requests
+      properties:
+        region:
+          type: string
+        method:
+          type: string
+          enum: ["PUT", "GET", "HEAD", "POST", "DELETE", "PATCH", "OPTIONS"]
+        provider:
+          type: string
+          description: The storage provider for every element of the batch. If 
this is not specified, the
+            provider is assumed to be `s3`, as in `RemoteSignRequest`.
+        properties:
+          type: object
+          additionalProperties:
+            type: string
+        requests:
+          type: array
+          minItems: 1
+          items:
+            $ref: '#/components/schemas/RemoteSignBatchElement'
+
+    RemoteSignBatchElement:
+      description: The fields of one request in a batch that are not repeated 
with the other requests.
+      type: object
+      required:
+        - uri
+        - headers

Review Comment:
   I'm not too worried about the consistency here.  I would rather define the 
endpoint based on what we know is best at this time (not just carry forward for 
consistency).  I also think it's much more likely that clients will use this 
for pre-signing, which doesn't have a dependency on headers.



-- 
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]

Reply via email to