Skip to content

Commit 2e192aa

Browse files
authored
Refactor SharePoint restore session steps
1 parent accf78f commit 2e192aa

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

api-reference/beta/api/sharepointrestoresession-post-siterestoreartifactsbulkadditionrequests.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,13 @@ Namespace: microsoft.graph
1414

1515
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1616

17-
Create a new [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md) object associated with an [sharePointRestoreSession](../resources/sharepointrestoresession.md).
17+
Create a new [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md) object associated with a [sharePointRestoreSession](../resources/sharepointrestoresession.md).
1818

19-
**Step 1:** Create a new [sharePointRestoreSession](../resources/sharepointrestoresession.md) with Empty payload.
20-
21-
**Step 2:** Create a new [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md) object associated with a [sharePointRestoreSession](../resources/sharepointrestoresession.md).
22-
23-
**Step 3:** Get status of [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md) of the SharePoint restore session. The initial status upon creation is `active` and will remain so until it the [sharePointRestoreSession](../resources/sharepointrestoresession.md) is activated.
24-
25-
**Step 4:** Activate the [sharePointRestoreSession](../resources/sharepointrestoresession.md) created in step 1
26-
27-
**Step 5:** Monitor the status of [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md). When all the sites are added to the corresponding [sharePointRestoreSession](../resources/sharepointrestoresession.md), the status of [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md) becomes `completed`. If any failures are encountered during resource resolution, the status becomes `completedWithErrors`.
19+
1. Create a new [sharePointRestoreSession](../resources/sharepointrestoresession.md) with empty payload.
20+
1. Create a new [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md) object associated with a [sharePointRestoreSession](../resources/sharepointrestoresession.md).
21+
1. Get the status of the [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md) for the SharePoint restore session. The initial status upon creation is `active` and remains in this state until the [sharePointRestoreSession](../resources/sharepointrestoresession.md) is activated.
22+
1. Activate the [sharePointRestoreSession](../resources/sharepointrestoresession.md) created in the first step.
23+
1. Monitor the status of the [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md). When all the sites are added to the corresponding [sharePointRestoreSession](../resources/sharepointrestoresession.md), the status of the [siteRestoreArtifactsBulkAdditionRequest](../resources/siterestoreartifactsbulkadditionrequest.md) changes to `completed`. If any failures occur during resource resolution, the status changes to `completedWithErrors`.
2824

2925
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
3026

0 commit comments

Comments
 (0)