13 lines
461 B
Python
13 lines
461 B
Python
import os
|
|
import sys
|
|
import json
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
from ingestion.graph_client import GraphClient
|
|
|
|
client = GraphClient()
|
|
drive_id = "b!15GOzaN4pU2LRNmRYc8vat7d48GJXyJBj-eKaLgrGv9svCswiraBQalAnVnRMl79"
|
|
item_id = "01BP532D2O74Z6FYQPOVBKE5DBMYDWCWCK"
|
|
url = f"https://graph.microsoft.com/v1.0/drives/{drive_id}/items/{item_id}"
|
|
resp = client._make_request("GET", url)
|
|
print(json.dumps(resp, indent=2))
|