Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Paths Object for POST requests on RPC endpoints #51

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

laurenceisla
Copy link
Member

@laurenceisla laurenceisla commented Oct 18, 2024

Adds POST requests to the existing GET for functions.

@laurenceisla laurenceisla force-pushed the func-post-path branch 2 times, most recently from ae7aa61 to 75c96cf Compare November 11, 2024 19:41
* Adds POST paths to the existing "/rpc/<function_name>" endpoints for valid functions
* Adds Schema Objects for function parameters to be used in the request body
* Adds common and specific Media Types to the Request Body Object (includes single unnamed argument functions)
* Adds "rowFilter"s for functions that return <table>, <composite type> or have TABLE or INOUT/OUT arguments
@laurenceisla laurenceisla marked this pull request as ready for review November 11, 2024 19:44
Copy link
Member

@steve-chavez steve-chavez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@laurenceisla laurenceisla merged commit a7089ac into PostgREST:main Nov 11, 2024
3 checks passed
@laurenceisla laurenceisla deleted the func-post-path branch November 11, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants