pvary commented on code in PR #16963:
URL: https://github.com/apache/iceberg/pull/16963#discussion_r4511076015


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1299,6 +1311,332 @@ paths:
         5XX:
           $ref: '#/components/responses/ServerErrorResponse'
 
+  /v1/{prefix}/namespaces/{namespace}/indexes:
+    parameters:
+      - $ref: '#/components/parameters/prefix'
+      - $ref: '#/components/parameters/namespace'
+
+    get:
+      tags:
+        - Index Catalog API
+      summary: List all indexes in a namespace, optionally filtered by type
+      operationId: listIndexes
+      description:
+        Return a list of index summaries for the specified namespace. The list 
can be
+        filtered by index type(s) using the `types` query parameter. This 
enables
+        query optimizers to discover the indexes available in a given 
namespace.
+      parameters:

Review Comment:
   I think we could use 
`/v1/{prefix}/namespaces/{namespace}/tables/{table}/indexes` for this.
   
   Maybe index type? One maintenance process might be responsible for the 
Scalar indexes, another one for the Vector indexes?



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