permanentDelete through SDK
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- api
调研方向
Start with the JavaScript SDK's support for the Microsoft Graph driveItem operations and compare the existing delete usage with the linked driveitem-permanentdelete API documentation. Confirm how the permanent-delete operation should be exposed through the SDK and verify that callers can invoke it for a OneDrive file.
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe the problem.
We are using the SDK in a project where we regularly need to delete files that were temporarily uploaded to OneDrive.
To do this, we use the delete function as provided by the npm package (3.0.7):
async function deleteFile(file) {
await client
.api(`/sites/${SITE_ID}/drive/root:/${file.id}.${file.extension}`)
.delete();
}
However, we now noticed that the deleted files end up in the recycle bin of the site, instead of being permanently deleted. This is confirmed by the MS Graph docs: https://learn.microsoft.com/en-us/graph/api/driveitem-delete
Describe the solution you'd like.
What we really need seems to be driveitem-permanentdelete.
I couldn't find a function in the package that supports this. Is there one? If no, it there a possibility to add it?
Thanks in advance!
Additional context?
No response
- 主要语言
- TypeScript
- 星标
- 836
- 派生
- 241
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 10
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-javascript 的其他 Issue
-
client.api() throws "Unable to parse the URL" for relative paths containing https:// in the query可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
microsoftgraph/msgraph-sdk-javascript#2039 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
microsoftgraph/msgraph-sdk-javascript#2011 ·
维护者通常 1 天内回复
-
status:waiting-for-triage
难度 1/5 1 小时以内 新手友好度 62/100
microsoftgraph/msgraph-sdk-javascript#1956 ·
维护者通常 1 天内回复
-
Is anyone here?未关闭
难度 4/5 3-5 天 新手友好度 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 个 reaction ·
维护者通常 1 天内回复
-
status:waiting-for-triage
难度 5/5 一周以上 新手友好度 42/100
microsoftgraph/msgraph-sdk-javascript#2004 ·
维护者通常 1 天内回复
查看 microsoftgraph/msgraph-sdk-javascript 的全部 Issue
相似的 Issue
-
documentation lens:human needs-triage
难度 2/5 1-3 小时 新手友好度 73/100
thebristolsound/birdbrain#2246 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
bug ready-for-human
难度 2/5 1-3 小时 新手友好度 72/100
BoardGamesEmpire/board-games-empire-backend#1452 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue stretch
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复