Add `itemWithPath` to OneDrive items
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api
Research direction
Start by locating the TypeScript SDK entry point for DriveItem requests and compare its structure with the linked Microsoft Graph API example and C# request-builder extension. Implement the itemWithPath flow so the provided createUploadSession example can target a path, then verify that this request is generated and usable as shown.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe the problem.
The OneDrive APIs support getting an item with a path instead of an ID. From https://learn.microsoft.com/en-us/graph/api/driveitem-get?view=graph-rest-1.0&tabs=http:
GET /drives/{drive-id}/root:/{item-path}
Other SDKs implement this as a custom request builder, for example in C#:
https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/609cef23d74a36afc7112d48e766b5d417224515/src/Microsoft.Graph/Extensions/DriveItemRequestBuilderExtensions.cs#L45
This SDK should implement something similar.
Describe the solution you'd like.
const uploadSession = await graphClient.drives
.byDriveId(myDrive.id)
.items.byDriveItemId('root')
.itemWithPath('some/path.txt')
.createUploadSession
.post(uploadSessionBody);
Additional context?
No response
- Dominant language
- TypeScript
- Stars
- 44
- Forks
- 7
- Avg merge
- 12h 40m
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from microsoftgraph/msgraph-sdk-typescript
-
ToTriage type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoftgraph/msgraph-sdk-typescript#917 · 6 comments ·
Maintainers usually reply within 1 day
-
status:waiting-for-triage ToTriage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoftgraph/msgraph-sdk-typescript#974 · 1 comment ·
Maintainers usually reply within 1 day
-
status:waiting-for-triage ToTriage type:bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoftgraph/msgraph-sdk-typescript#953 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
status:waiting-for-triage ToTriage
Difficulty 5/5 Over a week Newbie friendliness 25/100
microsoftgraph/msgraph-sdk-typescript#912 · 1 comment ·
Maintainers usually reply within 1 day
-
status:waiting-for-triage ToTriage type:feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoftgraph/msgraph-sdk-typescript#907 ·
Maintainers usually reply within 1 day
All issues in microsoftgraph/msgraph-sdk-typescript
Similar issues
-
check:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
[Bug] The shared instance selector's placeholder and no-match text ignore the display languagePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
apache/rocketmq-dashboard#5561 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CopilotKit/OpenDots#69 ·
Maintainers usually reply within 1 day
-
sendDefaultPii is reported as deprecated on ReactNativeOptions although dataCollection is hiddenOpenBug React-Native Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-react-native#6830 · 1 comment ·
Maintainers usually reply within 1 day
-
OSCI'26
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GauravKarakoti/SecureFlow#1215 ·
Maintainers usually reply within 1 day