Skip to content

Conversation

@huaxingao
Copy link
Contributor

This PR updates open-api/rest-catalog-open-api.yaml to define read-only REST catalog support for functions.

Add function endpoints:

  • GET /v1/{prefix}/namespaces/{namespace}/functions
  • GET /v1/{prefix}/namespaces/{namespace}/functions/{function}

Add OpenAPI components for the responses and parameters:

  • ListFunctionsResponse
  • LoadFunctionResponse
  • function path parameter
  • NoSuchFunctionError example

Update the /v1/config “default endpoints” list to include the function endpoints.

Scope
Read-only only (list + load). No create/replace/drop in this PR.

This is intended as the Stage 1 spec surface; function CRUD can be proposed/voted in a follow-up

Follow-up work to implement these endpoints in the Spark 4.1 integration is tracked in #14954

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant