-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
HTTP API Selection, projection, and pagination #7340
Comments
An interesting problem that's popping up in the work for CSI volume creation workflows is implementing the |
🤩 This is very exciting news. |
Implementation for CSI has landed in |
Is this closed with #12186? |
Just took a quick look through the API docs and it looks like pagination and filters still aren't implemented for ACL policies, Namespaces, CSI Plugins, Quotas, Recommendations, and Scaling Policies. @schmichael do you think that the projections issue is sufficiently covered by filtering in the current implementation? If so, should we break out the pagination/filtering for each of these endpoints? (None of these has a ton of data even on large clusters, so I suspect we maybe just don't care about these endpoints?) |
Let's do it! I think we've hit the highest quality endpoints/features, so let's approach the rest on an as-needed basis. Closing this and we can open more specific issues as needed. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad's HTTP API lacks a holistic implementation of 3 common features for data retrieval APIs:
/v1/jobs?prefix=foo
filter)AllocationListStub
A complicating factor in the implementation of these features is whether or not they should be implemented at the RPC layer as well since nearly all HTTP API's are backed by an RPC call.
There are multiple implementation approaches:
/v1/search
endpoint: The search endpoint already does limited selection and projection. It could be expanded to support more query features./v2/...
API that provide these features in a holistic way while maintaining backward compatibility by leaving/v1/...
APIs in place.This has been discussed numerous times in numerous places, but I couldn't find an Github issue directly tracking it. Close this as a duplicate if another issue is found!
The text was updated successfully, but these errors were encountered: