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

V3 API: How To Construct Query To List Roles Including User, Space Or Organization #1204

Open
SeliukovaYuliya opened this issue Nov 28, 2023 · 0 comments · May be fixed by #1228
Open

V3 API: How To Construct Query To List Roles Including User, Space Or Organization #1204

SeliukovaYuliya opened this issue Nov 28, 2023 · 0 comments · May be fixed by #1228

Comments

@SeliukovaYuliya
Copy link

Given:

The response contains all the required info for the processing on our side:

When:

  • I try to construct request in Java library

Then:

  • I don't see any option to specify include parameter

My query:

PaginationUtils.requestClientV3Resources(page -> getClient(hostName)
                .rolesV3()
                .list(ListRolesRequest.builder().spaceId(spaceId)
                        .types(RoleType.SPACE_AUDITOR, RoleType.SPACE_MANAGER, RoleType.SPACE_DEVELOPER)
                        .build()));

ListRolesRequest.builder() doen not provide any option to specify include parameter.
What did I do wrong ?
Could you please assist here ?

Thank you!

@Fabian-K Fabian-K linked a pull request Apr 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant