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


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -153,7 +157,9 @@ paths:
                   "GET /v1/{prefix}/namespaces",
                   "POST /v1/{prefix}/namespaces",
                   "GET /v1/{prefix}/namespaces/{namespace}/tables/{table}",
-                  "GET /v1/{prefix}/namespaces/{namespace}/views/{view}"
+                  "GET /v1/{prefix}/namespaces/{namespace}/views/{view}",
+                  "GET 
/v1/{prefix}/namespaces/{namespace}/relations/{relation}",
+                  "POST /v1/{prefix}/relations/batch-load"

Review Comment:
   This is a little pedantic, but I'm not entirely sold on the resource path 
here.  I looked across many different implementations and found lots of 
approaches.  However, I don't think we need to put the `/batch-load` at the 
end.  We can just leave it as `POST /v1/{prefix}/relations`.  I could see that 
you might say "what if we need to create", but we already have a transactions 
endpoint that is for that operation.
   
   



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