microsoft-graph-explorer-v4 icon indicating copy to clipboard operation
microsoft-graph-explorer-v4 copied to clipboard

Graph Example title is misleading

Open bruceburge opened this issue 3 years ago • 4 comments

Describe the bug The example is titled "all the items in my drive" what it is doing "List children in the root of the current user's drive"

The example would be far more useful, and far less confusing, if it did actually return all items.

To Reproduce Steps to reproduce the behavior:

  1. goto graph explorer
  2. click on "all the items in my drive"

Expected behavior get "all the items in my drive"

Additional context I know the easiest answer would be to change the name of the example, but if you want these examples to be meaningful, including more complex results would be better.

bruceburge avatar Mar 10 '22 23:03 bruceburge

@RabebOthmani thoughts?

adhiambovivian avatar Mar 17 '22 08:03 adhiambovivian

@adhiambovivian Please correct me if my assumptions are wrong. But the samples get populated by the workloads

RabebOthmani avatar Apr 12 '22 12:04 RabebOthmani

@adhiambovivian Please correct me if my assumptions are wrong. But the samples get populated by the workloads

that's correct @RabebOthmani

adhiambovivian avatar May 17 '22 13:05 adhiambovivian

@bruceburge We will talk to the product owners and forward your suggestion.

darrelmiller avatar Jun 17 '22 14:06 darrelmiller

@bruceburge, the behavior you’re noting with the sample query is the one documented here https://learn.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0&tabs=http#response.

For performance reasons, the response will return a batch of 200 items but you can access the rest of the items by following the @odata.nexLink property in the response. Therefore, in effect, the sample query provides all the drive items. With that said, I appreciate your point that this is not the clearest. So, changes will be made to rename the name of the endpoint from "all the items in my drive" to "list items in my drive".

MaryannGitonga avatar Jan 16 '23 13:01 MaryannGitonga