Skip to main content

onedrive

Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files.

Informations de source

Dépôt
ThinkfleetAI/thinkfleet-engine
Dernière activité de la source
10 février 2026 à 12:42
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
onedrive
description
Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files.
metadata
{"thinkfleet":{"emoji":"☁️","requires":{"env":"[Truncated]"}}}
# OneDrive Microsoft cloud storage. ## Environment ```bash export MICROSOFT_ACCESS_TOKEN="xxxxxxxxxx" ``` ## List Root Files ```bash curl "https://graph.microsoft.com/v1.0/me/drive/root/children" -H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" ``` ## Upload File ```bash curl -X PUT "https://graph.microsoft.com/v1.0/me/drive/root:/filename.txt:/content" \ -H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" \ -H "Content-Type: text/plain" \ --data-binary @localfile.txt ``` ## Download File ```bash curl "https://graph.microsoft.com/v1.0/me/drive/items/{itemId}/content" \ -H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" -o downloaded.txt ``` ## Links - Docs: https://docs.microsoft.com/en-us/graph/api/resources/onedrive
Voir sur GitHub