POST api/2.0/portal/startrestore
Starts the data restoring process of the current portal with the parameters specified in the request.
Name |
Description |
Type |
Example |
backupId
sent in body
|
Backup ID
|
string
|
some text
|
storageType
sent in body
|
Storage type
|
Documents, ThridpartyDocuments, CustomCloud, Local, DataStore, ThirdPartyConsumer
|
|
storageParams
sent in body
|
Storage parameters
|
Collection of ASC.Api.Collections.ItemKeyValuePair`2[System.String,System.String]s
collection
|
|
notify
sent in body
|
Notifies users about backup or not
|
Bool value
|
true
|
POST api/2.0/portal/startrestore
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"backupId": "some text",
"storageType": "documents",
"storageParams": [
{
"Key": null,
"Value": null
}
],
"notify": true
}