permanentDelete through SDK
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- api
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 836
- Fork
- 241
- Merge medio
- 1g 12h
- PR unite (30g)
- 10
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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.
Altre issue di microsoftgraph/msgraph-sdk-javascript
-
client.api() throws "Unable to parse the URL" for relative paths containing https:// in the queryForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
microsoftgraph/msgraph-sdk-javascript#2039 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
microsoftgraph/msgraph-sdk-javascript#2011 ·
I maintainer di solito rispondono entro 1 giorno
-
status:waiting-for-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
microsoftgraph/msgraph-sdk-javascript#1956 ·
I maintainer di solito rispondono entro 1 giorno
-
Is anyone here?Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Is it really correct that the Javascript version of the graph SDK doesn't offer typed requests?Apertastatus:waiting-for-triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
microsoftgraph/msgraph-sdk-javascript#2004 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoftgraph/msgraph-sdk-javascript
Issue simili
-
parity: scripting.net's net-http row fails on macOS with errno 61 where the BDS golden has 111ApertaBug Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
JSPrismarine/JSPrismarine#3384 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
zingolabs/zingo-mobile#1951 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Automattic/data-liberation-agent#2175 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
xdelmo/Portfolio-minimal#613 ·
I maintainer di solito rispondono entro 1 giorno
-
backend documentation low-priority Stellar Wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Savitura/Savitools#611 · 1 commento ·
I maintainer di solito rispondono entro 6 giorni