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

Management API: implement a restricted "get-all" endpoint #248

Closed
paullatzelsperger opened this issue Jan 30, 2024 · 0 comments · Fixed by #267
Closed

Management API: implement a restricted "get-all" endpoint #248

paullatzelsperger opened this issue Jan 30, 2024 · 0 comments · Fixed by #267
Assignees
Labels
api enhancement New feature or request

Comments

@paullatzelsperger
Copy link
Member

paullatzelsperger commented Jan 30, 2024

Feature Request

All Mangement API endpoints should provide a (restricted) "get-all" endpoint, that returns the entire Collection of entities.

Which Areas Would Be Affected?

All Managment APIs

Why Is the Feature Desired?

This is useful for management operations and for setting up test/demo environemnts.

Solution Proposal

add a endpoint that is restricted to the "admin" role, and accepts a QuerySpec

@GET
public Collection<SomeEntity> getAllEntities(){
   //...
}
@paullatzelsperger paullatzelsperger added enhancement New feature or request feature_request New feature request, awaiting triage triage all new issues awaiting classification api labels Jan 30, 2024
@paullatzelsperger paullatzelsperger self-assigned this Jan 30, 2024
@paullatzelsperger paullatzelsperger removed feature_request New feature request, awaiting triage triage all new issues awaiting classification labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request
Projects
None yet
1 participant