-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Feature Request] Provide information on possible embeddings #1731
Comments
Thanks for opening that issue, good to be able to track that separately.
Yes, I think that's the best way to do it. |
On latest nightly we have a We could make it available by requesting a special header(maybe |
With the above, the root endpoint would output the full schema cache json with no filtering capabilities. To solve this we could use the I propose this because it'd be a shorter term solution. Defining how we would represent relationships in OpenAPI might take some time(no standard, we'd need openapi extensions). (Note: currently |
Sounds good. In our internal use-case (not the one mentioned in this issue), we prefer 1 endpoint for all relationship information over 1 endpoint per table / view, so this would fit our needs. For completeness sake, the idea of exposing resource embedding metadata also already came up here: #1573 (comment) |
@LorenzHenk Check #1794. We're implementing this one there. |
Description
As seen in #1625, you're putting a lot of effort into making resource embedding work for more and more queries.
As mentioned in #1179 (comment), It would be great to be able to access this information, i.e. having an endpoint to query PostgREST for the possible embeddings of a table / view.
Would it make sense to add this information to the
/
openapi endpoint?Use case
A user can decide from a dropdown which embeddings he wants to use, we automatically build the
select
GET parameter based on the selected embeddings.The possible embeddings to choose from come would come from this new endpoint.
The text was updated successfully, but these errors were encountered: