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

OneDrive access to a specific folder? #374

Closed
shacker opened this issue Jul 6, 2021 · 1 comment
Closed

OneDrive access to a specific folder? #374

shacker opened this issue Jul 6, 2021 · 1 comment
Labels

Comments

@shacker
Copy link

shacker commented Jul 6, 2021

The OneDrive examples in the docs all assume that we are interested in locating a given user's Drives, and iterating through them. But all I want to do is to access a given folder, and iterate through the files in that folder. I'm not able to figure out how to do that from the examples in the docs - can anyone show me how that would work? It seems like there's got to be some way to just say "Give me folder X and its contents," but I can't see how.

I am able to authenticate and get an access token, but can't seem to get farther than that. Thanks.

@shacker
Copy link
Author

shacker commented Jul 6, 2021

Following up on my own question - I think the example docs here are minimal by design. This library handles access, but to achieve results, you need to spend time reading and understanding the OneDrive REST APIs themselves (docs here). It takes experimentation and a fair bit of poking and prodding to locate the drive and item IDs you want to work with, but once you get the hang of it, you can do anything.

A few more examples in this lib's docs might still be useful, but closing this as a non-issue.

@shacker shacker closed this as completed Jul 6, 2021
@vgrem vgrem added the question label Jul 7, 2021
vgrem pushed a commit that referenced this issue Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants