Skip to content

feat: add $expand=children to the driveItem stat operations - #68

Merged
dschmidt merged 1 commit into
mainfrom
feat/driveitem-expand-children
Sep 2, 2026
Merged

feat: add $expand=children to the driveItem stat operations#68
dschmidt merged 1 commit into
mainfrom
feat/driveitem-expand-children

Conversation

@dschmidt

@dschmidt dschmidt commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Adds $expand=children to the four operations that stat a single driveItem or a drive root: GetDriveItem (v1beta1), GetDriveItemV1, GetRoot, HomeGetRoot.

The children property already exists on the driveItem schema, only the query parameter was missing, so this is purely additive.

Motivation: a folder listing currently needs two round trips against graph (stat the folder, then list its children), where a single WebDAV PROPFIND with Depth: 1 returns the collection and its children at once. With $expand=children clients get back to one request. The server ignores the parameter today, so this needs an implementation to follow.

@dschmidt
dschmidt merged commit 105754d into main Sep 2, 2026
4 checks passed
@dschmidt
dschmidt deleted the feat/driveitem-expand-children branch September 2, 2026 05:56
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 this pull request may close these issues.

2 participants