kevinjqliu commented on code in PR #14869:
URL: https://github.com/apache/iceberg/pull/14869#discussion_r2695508628
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1832,6 +1832,60 @@ paths:
5XX:
$ref: '#/components/responses/ServerErrorResponse'
+ /v1/{prefix}/namespaces/{namespace}/register-view:
+ parameters:
+ - $ref: '#/components/parameters/prefix'
+ - $ref: '#/components/parameters/namespace'
+
+ post:
+ tags:
+ - Catalog API
+ summary: Register a view in the catalog
Review Comment:
id also prefer consistency, and the "metadata file location" part is baked
into the protocol
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1832,6 +1832,60 @@ paths:
5XX:
$ref: '#/components/responses/ServerErrorResponse'
+ /v1/{prefix}/namespaces/{namespace}/register-view:
Review Comment:
Looks like hyphen is preferred for REST apis according to
https://stackoverflow.com/questions/10302179/hyphen-underscore-or-camelcase-as-word-delimiter-in-uris
--
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]