microsoftgraph / microsoftgraph/msgraph-sdk-php
Trying to list all my onedrive root entries
@shemogumbe ci sta già lavorando.
Dal 20/2/2025.
- Lingua principale
- PHP
- Stelle
- 669
- Fork
- 150
- Merge medio
- 15h 21m
- PR unite (30g)
- 3
Descrizione
Hello, I created in php a class that makes an Graph Client (Creates access token and appClient).
I'm trying to create a GET request to list all my onedrive root (files and folders) with this endpoint:
GET https://graph.microsoft.com/v1.0/users/{user-id}/drive/root/children
This GET request work in POSTMAN but not in my own php code:
$response = $this->appClient->users()->byUserId($this->user_id)->drive()->root()->children()->get($configuration)->wait();
The $configuration is a new DriveRequestBuilderGetRequestConfiguration().
Perhaps I'm using the wrong Import?
Thank You,
Gilad Segal
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.