From 4b2bea4da611ea5cf10376b64adaab5b4396fe93 Mon Sep 17 00:00:00 2001 From: Rohit Devmore Date: Thu, 13 Feb 2025 11:29:41 +0100 Subject: [PATCH 1/3] Update driveitem-move.md added example for root folder call to get its ID. I see on the forums many people struggling to undertand this --- api-reference/v1.0/api/driveitem-move.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/v1.0/api/driveitem-move.md b/api-reference/v1.0/api/driveitem-move.md index ae8bc9c09f7..73eb9c91da1 100644 --- a/api-reference/v1.0/api/driveitem-move.md +++ b/api-reference/v1.0/api/driveitem-move.md @@ -53,7 +53,7 @@ Existing properties that are not included in the request body will maintain thei For best performance you shouldn't include existing values that haven't changed. **Note:** When moving items to the root of a drive your app cannot use the `"id:" "root"` syntax. -Your app needs to provide the actual ID of the root folder for the parent reference. +Your app needs to provide the actual ID of the root folder for the parent reference. i.e. `/drives/{drive-id}/root` ## Response From fb44dd7532ce5476384538d037a6fa9691ad1aeb Mon Sep 17 00:00:00 2001 From: Daniela Bonilla Montero <92937694+Danielabom@users.noreply.github.com> Date: Fri, 21 Feb 2025 09:34:22 -0600 Subject: [PATCH 2/3] Apply suggestions from code review --- api-reference/v1.0/api/driveitem-move.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/v1.0/api/driveitem-move.md b/api-reference/v1.0/api/driveitem-move.md index 73eb9c91da1..621ee4a627d 100644 --- a/api-reference/v1.0/api/driveitem-move.md +++ b/api-reference/v1.0/api/driveitem-move.md @@ -53,7 +53,7 @@ Existing properties that are not included in the request body will maintain thei For best performance you shouldn't include existing values that haven't changed. **Note:** When moving items to the root of a drive your app cannot use the `"id:" "root"` syntax. -Your app needs to provide the actual ID of the root folder for the parent reference. i.e. `/drives/{drive-id}/root` +Your app needs to provide the actual ID of the root folder for the parent reference. For example, `/drives/{drive-id}/root`. ## Response From 5cd3173b6e6e888e06b15d77d94cebacd46b843d Mon Sep 17 00:00:00 2001 From: Daniela Bonilla Montero <92937694+Danielabom@users.noreply.github.com> Date: Fri, 21 Feb 2025 09:36:51 -0600 Subject: [PATCH 3/3] Apply suggestions from code review --- api-reference/v1.0/api/driveitem-move.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/v1.0/api/driveitem-move.md b/api-reference/v1.0/api/driveitem-move.md index 621ee4a627d..6e27948d09e 100644 --- a/api-reference/v1.0/api/driveitem-move.md +++ b/api-reference/v1.0/api/driveitem-move.md @@ -53,7 +53,7 @@ Existing properties that are not included in the request body will maintain thei For best performance you shouldn't include existing values that haven't changed. **Note:** When moving items to the root of a drive your app cannot use the `"id:" "root"` syntax. -Your app needs to provide the actual ID of the root folder for the parent reference. For example, `/drives/{drive-id}/root`. +Your app needs to provide the actual ID of the root folder for the parent reference. For example, `/drives/{drive-id}/root`. ## Response