microsoftgraph / microsoftgraph/msgraph-sdk-java
Question - Page through a collection using the Microsoft Graph SDKs - v6.29.0
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 444
- Forks
- 154
- Avg merge
- 18h 28m
- Merged PRs (30d)
- 4
Description
When passing through collection and readding the header to requestConfigurator of PageIterator.Builder
Do I need to add the header as encoded key or not
For example readding the select header
requestInfo.addQueryParameter("%24select", new String[]{"name", "displayName", "id", "webUrl", "isPersonalSite"});
or
requestInfo.addQueryParameter("$select", new String[]{"name", "displayName", "id", "webUrl", "isPersonalSite"});
According to the documentation in
https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=java
it appeared it's needed to encode the key
Thanks,
Itay
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Microsoft Graph paging documentation linked in the issue and the Java PageIterator.Builder requestConfigurator example. Compare the two requestInfo.addQueryParameter forms for the $select header, then document the correct form and update the relevant guidance if needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100