microsoftgraph / microsoftgraph/msgraph-sdk-php
More examples for Sharepoint Sites - Drives
@shemogumbe is already working on this.
Since Oct 26, 2024.
- Dominant language
- PHP
- Stars
- 669
- Forks
- 150
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 3
Description
How can i do this:
DELETE /sites/{site-id}/drive/items/{itemId}
Something like this doesn't work:
$graphServiceClient->sites()->bySiteId('site-id')->drive()->items()->byDriveItemId('driveItem-id')->delete()->wait();
- drive() has not items().
$graphServiceClient->sites()->bySiteId('site-id')->drive()->withUrl('https://...sharepoint.com/sites/...')->delete()->wait();
- withUrl() has not delete()
$graphServiceClient->sites()->bySiteId('site-id')->drives()->byDriveId('drive-id')->delete()->wait();
- byDriveId() has not delete()
Then how to do it?
Or how to do a POST /sites/{site-id}/drive/items/{parent-item-id}/children ?
Thanks.
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.
Assessment
This issue has not been assessed yet.