From a97ca34be1e60ddd014f511e832fd78af46c0fb1 Mon Sep 17 00:00:00 2001 From: Marc Windle Date: Thu, 19 Mar 2026 15:50:19 -0700 Subject: [PATCH 1/4] Add SharePoint Embedded sample queries --- sample-queries/sample-queries.json | 91 ++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/sample-queries/sample-queries.json b/sample-queries/sample-queries.json index 7851b499..a4ad3976 100644 --- a/sample-queries/sample-queries.json +++ b/sample-queries/sample-queries.json @@ -1286,6 +1286,97 @@ "docLink": "https://learn.microsoft.com/en-us/graph/api/resources/site?view=graph-rest-1.0", "skipTest": false }, + { + "id": "523eeb65-f5dc-48b1-afd0-54a53418a9ca", + "category": "SharePoint Embedded", + "method": "POST", + "humanName": "create a container", + "requestUrl": "/v1.0/storage/fileStorage/containers", + "docLink": "https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-post?view=graph-rest-1.0", + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "postBody": "{\r\n \"displayName\": \"My Application Storage Container\",\r\n \"description\": \"Description of My Application Storage Container\",\r\n \"containerTypeId\": \"{containerTypeId}\"\r\n}", + "skipTest": false + }, + { + "id": "3507a75c-e4d8-47d6-8e09-6f2d5382bf65", + "category": "SharePoint Embedded", + "method": "GET", + "humanName": "get a container", + "requestUrl": "/v1.0/storage/fileStorage/containers/{containerId}", + "docLink": "https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-get?view=graph-rest-1.0", + "skipTest": false + }, + { + "id": "b850b24e-ff82-4946-861c-7c5ae1565e45", + "category": "SharePoint Embedded", + "method": "POST", + "humanName": "add a writer to a container", + "requestUrl": "/v1.0/storage/fileStorage/containers/{containerId}/permissions", + "docLink": "https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-post-permissions?view=graph-rest-1.0", + "headers": [ + { + "name": "Content-type", + "value": "application/json" + } + ], + "postBody": "{\r\n \"roles\": [\"writer\"],\r\n \"grantedToV2\": {\r\n \"user\": {\r\n \"userPrincipalName\": \"{userEmail}\"\r\n }\r\n }\r\n}", + "skipTest": false + }, + { + "id": "6a17fab7-4623-4173-9460-2417b60a4c04", + "category": "SharePoint Embedded", + "method": "POST", + "humanName": "add a choice column to a container", + "requestUrl": "/v1.0/storage/fileStorage/containers/{containerId}/columns", + "docLink": "https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-post-columns?view=graph-rest-1.0", + "headers": [ + { + "name": "Content-type", + "value": "application/json" + } + ], + "postBody": "{\r\n \"name\": \"color\",\r\n \"displayName\": \"Color\",\r\n \"description\": \"Color of the item\",\r\n \"choice\": {\r\n \"choices\": [\"red\", \"blue\", \"green\"]\r\n }\r\n}", + "skipTest": false + }, + { + "id": "66794bb1-0c60-4a43-aee9-95715c1765fc", + "category": "SharePoint Embedded", + "method": "POST", + "humanName": "create a folder in a container", + "requestUrl": "/v1.0/drives/{containerId}/root/children", + "docLink": "https://learn.microsoft.com/en-us/graph/api/driveitem-post-children?view=graph-rest-1.0", + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "postBody": "{\r\n \"name\": \"New Folder\",\r\n \"folder\": {}\r\n}", + "skipTest": false + }, + { + "id": "eb82d84e-b403-4adf-a790-8512675e69b5", + "category": "SharePoint Embedded", + "method": "GET", + "humanName": "list items in a container", + "requestUrl": "/v1.0/drives/{containerId}/items/root/children", + "docLink": "https://learn.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0", + "skipTest": false + }, + { + "id": "d860e6da-a685-4f4f-a8ef-66a657268887", + "category": "SharePoint Embedded", + "method": "GET", + "humanName": "get an item in a container", + "requestUrl": "/v1.0/drives/{containerId}/items/{itemId}", + "docLink": "https://learn.microsoft.com/en-us/graph/api/driveitem-get?view=graph-rest-1.0", + "skipTest": false + }, { "id": "b7d7134b-6509-48c5-8ce6-79d431ac4e98", "category": "SharePoint Lists", From 0e429ad61123129b58d223823b5b04182b296390 Mon Sep 17 00:00:00 2001 From: Marc Windle Date: Fri, 20 Mar 2026 07:57:55 -0700 Subject: [PATCH 2/4] Add list containers sample query for SharePoint Embedded --- sample-queries/sample-queries.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sample-queries/sample-queries.json b/sample-queries/sample-queries.json index a4ad3976..267e4515 100644 --- a/sample-queries/sample-queries.json +++ b/sample-queries/sample-queries.json @@ -1302,6 +1302,15 @@ "postBody": "{\r\n \"displayName\": \"My Application Storage Container\",\r\n \"description\": \"Description of My Application Storage Container\",\r\n \"containerTypeId\": \"{containerTypeId}\"\r\n}", "skipTest": false }, + { + "id": "851e434b-60ad-4f32-b435-9540d353d811", + "category": "SharePoint Embedded", + "method": "GET", + "humanName": "list containers", + "requestUrl": "/v1.0/storage/fileStorage/containers?$filter=containerTypeId eq {containerTypeId}", + "docLink": "https://learn.microsoft.com/en-us/graph/api/filestorage-list-containers?view=graph-rest-1.0", + "skipTest": false + }, { "id": "3507a75c-e4d8-47d6-8e09-6f2d5382bf65", "category": "SharePoint Embedded", From 1fa128f8395c46b0ce0b76f4d8d8f3eeaf822007 Mon Sep 17 00:00:00 2001 From: Marc Windle Date: Fri, 20 Mar 2026 08:26:41 -0700 Subject: [PATCH 3/4] Add list container permissions and list container columns sample queries --- sample-queries/sample-queries.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sample-queries/sample-queries.json b/sample-queries/sample-queries.json index 267e4515..3e22c51c 100644 --- a/sample-queries/sample-queries.json +++ b/sample-queries/sample-queries.json @@ -1336,6 +1336,15 @@ "postBody": "{\r\n \"roles\": [\"writer\"],\r\n \"grantedToV2\": {\r\n \"user\": {\r\n \"userPrincipalName\": \"{userEmail}\"\r\n }\r\n }\r\n}", "skipTest": false }, + { + "id": "4495afff-e67e-4969-8ea0-5abb37dec0e8", + "category": "SharePoint Embedded", + "method": "GET", + "humanName": "list container permissions", + "requestUrl": "/v1.0/storage/fileStorage/containers/{containerId}/permissions", + "docLink": "https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-list-permissions?view=graph-rest-1.0", + "skipTest": false + }, { "id": "6a17fab7-4623-4173-9460-2417b60a4c04", "category": "SharePoint Embedded", @@ -1352,6 +1361,15 @@ "postBody": "{\r\n \"name\": \"color\",\r\n \"displayName\": \"Color\",\r\n \"description\": \"Color of the item\",\r\n \"choice\": {\r\n \"choices\": [\"red\", \"blue\", \"green\"]\r\n }\r\n}", "skipTest": false }, + { + "id": "e053cee5-3b04-470a-82bd-5744feeb5b73", + "category": "SharePoint Embedded", + "method": "GET", + "humanName": "list container columns", + "requestUrl": "/v1.0/storage/fileStorage/containers/{containerId}/columns", + "docLink": "https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-list-columns?view=graph-rest-1.0", + "skipTest": false + }, { "id": "66794bb1-0c60-4a43-aee9-95715c1765fc", "category": "SharePoint Embedded", From 1233c9c42f70abf24964ae97a0c45e9797912985 Mon Sep 17 00:00:00 2001 From: Marc Windle Date: Fri, 20 Mar 2026 08:49:27 -0700 Subject: [PATCH 4/4] Add delete a container sample query for SharePoint Embedded --- sample-queries/sample-queries.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sample-queries/sample-queries.json b/sample-queries/sample-queries.json index 3e22c51c..71c906d1 100644 --- a/sample-queries/sample-queries.json +++ b/sample-queries/sample-queries.json @@ -1404,6 +1404,15 @@ "docLink": "https://learn.microsoft.com/en-us/graph/api/driveitem-get?view=graph-rest-1.0", "skipTest": false }, + { + "id": "35bfeb59-4911-4042-bb40-4615a484973e", + "category": "SharePoint Embedded", + "method": "DELETE", + "humanName": "delete a container", + "requestUrl": "/v1.0/storage/fileStorage/containers/{containerId}", + "docLink": "https://learn.microsoft.com/en-us/graph/api/filestorage-delete-containers?view=graph-rest-1.0", + "skipTest": false + }, { "id": "b7d7134b-6509-48c5-8ce6-79d431ac4e98", "category": "SharePoint Lists",