Skip to content

Commit

Permalink
Core: Add missing default HEAD endpoints and V1_COMMIT_TRANSACTION (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr authored Jan 22, 2025
1 parent 5091e57 commit e86d25f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ public class RESTSessionCatalog extends BaseViewSessionCatalog
.add(Endpoint.V1_RENAME_TABLE)
.add(Endpoint.V1_REGISTER_TABLE)
.add(Endpoint.V1_REPORT_METRICS)
.add(Endpoint.V1_COMMIT_TRANSACTION)
.build();

private static final Set<Endpoint> VIEW_ENDPOINTS =
Expand Down
4 changes: 4 additions & 0 deletions open-api/rest-catalog-open-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ paths:
- GET /v1/{prefix}/namespaces/{namespace}
- HEAD /v1/{prefix}/namespaces/{namespace}
- DELETE /v1/{prefix}/namespaces/{namespace}
- POST /v1/{prefix}/namespaces/{namespace}/properties
Expand All @@ -121,6 +123,8 @@ paths:
- GET /v1/{prefix}/namespaces/{namespace}/tables/{table}
- HEAD /v1/{prefix}/namespaces/{namespace}/tables/{table}
- POST /v1/{prefix}/namespaces/{namespace}/tables/{table}
- DELETE /v1/{prefix}/namespaces/{namespace}/tables/{table}
Expand Down

0 comments on commit e86d25f

Please sign in to comment.