POST api/2.0/files/thirdparty/backup
Saves a backup of the connected third-party account.
Name |
Description |
Type |
Example |
Url
sent in body
|
Connection URL for the sharepoint
|
System.String
|
|
Login
sent in body
|
Login
|
System.String
|
|
Password
sent in body
|
Password
|
System.String
|
|
Token
sent in body
|
Authentication token
|
System.String
|
|
CustomerTitle
sent in body
|
Customer title
|
System.String
|
|
ProviderKey
sent in body
|
Provider key
|
System.String
|
|
List of provider key: DropboxV2, Box, WebDav, Yandex, OneDrive, SharePoint, GoogleDrive, kDrive
POST api/2.0/files/thirdparty/backup
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"Url": "some text",
"Login": "some text",
"Password": "some text",
"Token": "some text",
"CustomerTitle": "some text",
"ProviderKey": "some text"
}
Folder for the third-party account backup
application/json
{
"status": 0,
"response": {
"ParentId": 1234,
"FilesCount": 1234,
"FoldersCount": 1234,
"New": 1234,
"Mute": true,
"Pinned": true,
"Private": true
}
}
text/xml
<result>
<status>0</status>
<response>
<ParentId>1234</ParentId>
<FilesCount>1234</FilesCount>
<FoldersCount>1234</FoldersCount>
<New>1234</New>
<Mute>True</Mute>
<Pinned>True</Pinned>
<Private>True</Private>
</response>
</result>