| title | List restorePoints |
|---|---|
| description | Get a list of the restorePoint objects and their properties. |
| author | tushar20 |
| ms.reviewer | manikantsinghms |
| ms.localizationpriority | medium |
| ms.subservice | m365-backup-storage |
| doc_type | apiPageType |
| ms.date | 09/10/2024 |
Namespace: microsoft.graph
Get a list of the restorePoint objects and their properties.
Note: This API returns a maximum of five restorePoint objects. If you don't include the
orderByparameter, the five most recent restore points are returned.
[!INCLUDE national-cloud-support]
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.
[!INCLUDE permissions-table]
GET /solutions/backupRestore/restorePoints?$expand=protectionUnit($filter=id eq '{ProtectionUnitID}')&$filter=protectionDateTime lt YYYY-MM-DDTHH:mm:ssZThis method supports the $expand, $filter, and orderBy OData query parameters, as shown in the example later in this topic.
The $expand and $filter query parameters are required.
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK response code and a collection of restorePoint object in the response body.
For a list of possible error responses, see Backup Storage API error responses.
The following example shows a request.
GET https://graph.microsoft.com/v1.0/solutions/backupRestore/restorePoints?$expand=protectionUnit($filter=id eq 'd234cf54-e0fb-49b7-9c8a-5bcd1439e853')&$filter=protectionDateTime lt 2024-05-12T10:01:00Z
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "/solutions/backupRestore/restorePoints",
"@odata.nextLink": "https://graph.microsoft.com/v1.0/solutions/backupRestore/restorePoints?$skiptoken=M2UyZDAwMDAwMDMxMzkzYTMyNjQ2MTM0NjMzMjM5NjYzNjY0k2NDUwOTgzMg%3d%3d",
"value": [
{
"@odata.type": "#microsoft.graph.restorePoint",
"id": "cdf4a823-sfde-ki2s-kmsj-clu2nsdkk2as",
"protectionDateTime": "2023-01-01T00:00:00Z",
"expirationDateTime": "2024-01-01T00:00:00Z",
"protectionUnit": {
"@odata.type": "#microsoft.graph.siteProtectionUnit",
"id": "32514d8c-71fe-4d00-a01a-31850bc5b32c",
"siteId": "contoso-jpn.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,0271110f-634f-4300-a841-3a8a2e851852",
"policyId": "9fec8e78-bce4-4aaf-ab1b-5451cc387264"
},
"tags": "fastRestore" // Newly Added
},
{
"@odata.type": "#microsoft.graph.restorePoint",
"id": "cdf4a823-sfde-ki2s-kmsj-clu2nsdk43as",
"protectionDateTime": "2023-01-01T00:00:00Z",
"expirationDateTime": "2024-01-01T00:00:00Z",
"protectionUnit": {
"@odata.type": "#microsoft.graph.siteProtectionUnit",
"id": "17014d8c-71fe-4d00-a01a-31850bc5b32c",
"siteId": "contoso-jpn.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,0271110f-634f-4300-a841-3a8a2e851861",
"policyId": "9fec8e78-bce4-4aaf-ab1b-5451cc387264"
},
"tags": "fastRestore" // Newly Added
},
{
"@odata.type": "#microsoft.graph.restorePoint",
"id": "cdf4a823-sfde-ki2s-kmsj-clu2nsdk43ga",
"protectionDateTime": "2023-01-07T00:00:00Z",
"expirationDateTime": "2024-01-07T00:00:00Z",
"protectionUnit": {
"@odata.type": "#microsoft.graph.siteProtectionUnit",
"id": "23014d8c-71fe-4d00-a01a-31850bc5b42a",
"siteId": "contoso-jpn.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,0271110f-634f-4300-a841-3a8a2e857893",
"policyId": "9fec8e78-bce4-4aaf-ab1b-5451cc387264"
},
"tags": "fastRestore" // Newly Added
}
]
}