Get siteRestoreArtifactsBulkAdditionRequest
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ❌ | ❌ | ❌ |
Permissions
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type | Least privileged permission | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | BackupRestore-Restore.Read.All | Not available. |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | BackupRestore-Restore.Read.All | Not available. |
HTTP request
GET /solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSessionId}/siteRestoreArtifactsBulkAdditionRequests/{siteRestoreArtifactsBulkAdditionRequestId}
Optional query parameters
This method doesn't support the OData query parameters to help customize the response.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and a siteRestoreArtifactsBulkAdditionRequest object in the response body.
Examples
Request
The following example shows a request.
GET https://graph.microsoft.com/beta/solutions/backupRestore/sharePointRestoreSessions/89ca51b1-b0a5-4555-a8f3-ad95afcf867d/siteRestoreArtifactsBulkAdditionRequests/b246ac99-4184-48ed-b7ff-9c2a7af69757
Response
The following example shows the response.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#solutions/backupRestore/sharePointRestoreSessions('f25015f4-6bb2-46cb-b800-a8ec86a02815')/siteRestoreArtifactsBulkAdditionRequests",
"value": [
{
"id": "7ab93651-5029-4fcd-b263-5dcabad61e8d",
"destinationType": "new",
"tags": "fastRestore",
"restorePointPreference": "latest",
"displayName": "spo-BulkRestoreArtifacts",
"status": "completedWithErrors",
"createdDateTime": "2024-12-04T09:22:34.5159056Z",
"lastModifiedDateTime": "2024-12-04T09:25:30.2641799Z",
"siteWebUrls": [],
"protectionTimePeriod": {
"startDateTime": "2024-01-01T00:00:00Z",
"endDateTime": "2024-01-08T00:00:00Z"
},
"createdBy": {
"user": {
"identity": "6f707fc8-0250-4fd5-89b5-c0312bea7460"
}
},
"lastModifiedBy": {
"user": {
"identity": "6f707fc8-0250-4fd5-89b5-c0312bea7460"
}
},
"error": {
"code": "BulkRestoreArtifactsNotFound",
"message": "Errors while resolving restore artifacts",
"details": [
{
"code": "SiteUrlNotFound",
"message": "Site url 'https://contoso.com' could not be resolved",
"target": "https://contoso.com"
}
]
}
}
]
}