Save a third-party account backup
POST /api/2.0/files/thirdparty/backup
Request
Saves a backup of the connected third-party account.
Note: Note: List of provider key: DropboxV2, Box, WebDav, Yandex, OneDrive, SharePoint, GoogleDrive, kDrive
Authorization
An API key is a token that you provide when making API calls. Include the token in a cookie parameter called asc_auth_key
.
Example: asc_auth_key=864FE52C-1C1C-469F-9308-51DAFEFE7436
.
Headers
- Accept
enum of string
Can be one of:
application/json
,text/json
,text/plain
.- Content-Type
enum of string
Can be one of:
application/json
,application/*+json
,text/json
.
Body
Third-party backup request parameters
- url
string
Connection URL for the sharepoint
- login
string
Login
- password
string
Password
- token
string
Authentication token
- customerTitle
string
Customer title
- providerKey
string
Provider key
Examples
POST /api/2.0/files/thirdparty/backup HTTP/1.1
Accept: application/json
Content-Length: 162
Content-Type: application/json
Host: example.com
{
"url": "some text",
"login": "some text",
"password": "ZRZW2anKol",
"token": "some text",
"customerTitle": "some text",
"providerKey": "some text"
}
curl --request POST \
--url https://example.com/api/2.0/files/thirdparty/backup \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"url": "some text",
"login": "some text",
"password": "ZRZW2anKol",
"token": "some text",
"customerTitle": "some text",
"providerKey": "some text"
}'
Responses
200
Folder for the third-party account backup
- title
string
Title
- access
one of
- .
enum of string
[None - None, ReadWrite - Read and write, Read - Read, Restrict - Restrict, Varies - Varies, Review - Review, Comment - Comment, FillForms - Fill forms, CustomFilter - Custom filter, RoomManager - Room manager, Editing - Editing, ContentCreator - Content creator]
Can be one of:
None
,ReadWrite
,Read
,Restrict
,Varies
,Review
,Comment
,FillForms
,CustomFilter
,RoomManager
,Editing
,ContentCreator
.- .
enum of integer
[0 - None, 1 - Read and write, 2 - Read, 3 - Restrict, 4 - Varies, 5 - Review, 6 - Comment, 7 - Fill forms, 8 - Custom filter, 9 - Room manager, 10 - Editing, 11 - Content creator]
Can be one of:
0
,1
,2
,3
,4
,5
,6
,7
,8
,9
,10
,11
.
- shared
boolean
Specifies if the file is shared or not
- created
object
- utcTime
string
date-time UtcTime
- timeZoneOffset
string
date-span TimeZoneOffset
- createdBy
object
- id
string
uuid ID
- displayName
string
Display name
- title
string
Title
- avatar
string
Avatar
- avatarOriginal
string
Original size avatar
- avatarMax
string
Maximum size avatar
- avatarMedium
string
Medium size avatar
- avatarSmall
string
Small avatar
- profileUrl
string
Profile URL
- hasAvatar
boolean
Specifies if the user has an avatar or not
- isAnonim
boolean
Specifies if the user is an anonim or not
- updated
object
- utcTime
string
date-time UtcTime
- timeZoneOffset
string
date-span TimeZoneOffset
- autoDelete
object
- utcTime
string
date-time UtcTime
- timeZoneOffset
string
date-span TimeZoneOffset
- rootFolderType
one of
- .
enum of string
[DEFAULT - Default, COMMON - Coomon, BUNCH - Bunch, TRASH - Trash, USER - User, SHARE - Share, Projects - Projects, Favorites - Favourites, Recent - Recent, Templates - Templates, Privacy - Privacy, VirtualRooms - Virtual rooms, FillingFormsRoom - Filling forms room, EditingRoom - Editing room, CustomRoom - Custom room, Archive - Archive, ThirdpartyBackup - Thirdparty backup, PublicRoom - Public room, ReadyFormFolder - Ready form folder, InProcessFormFolder - In process form folder, FormFillingFolderDone - Form filling folder done, FormFillingFolderInProgress - Form filling folder in progress, VirtualDataRoom - Virtual Data Room]
Can be one of:
DEFAULT
,COMMON
,BUNCH
,TRASH
,USER
,SHARE
,Projects
,Favorites
,Recent
,Templates
,Privacy
,VirtualRooms
,FillingFormsRoom
,EditingRoom
,CustomRoom
,Archive
,ThirdpartyBackup
,PublicRoom
,ReadyFormFolder
,InProcessFormFolder
,FormFillingFolderDone
,FormFillingFolderInProgress
,VirtualDataRoom
.- .
enum of integer
[0 - Default, 1 - Coomon, 2 - Bunch, 3 - Trash, 5 - User, 6 - Share, 8 - Projects, 10 - Favourites, 11 - Recent, 12 - Templates, 13 - Privacy, 14 - Virtual rooms, 15 - Filling forms room, 16 - Editing room, 19 - Custom room, 20 - Archive, 21 - Thirdparty backup, 22 - Public room, 25 - Ready form folder, 26 - In process form folder, 27 - Form filling folder done, 28 - Form filling folder in progress, 29 - Virtual Data Room]
Can be one of:
0
,1
,2
,3
,5
,6
,8
,10
,11
,12
,13
,14
,15
,16
,19
,20
,21
,22
,25
,26
,27
,28
,29
.
- parentRoomType
one of
- .
enum of string
[DEFAULT - Default, COMMON - Coomon, BUNCH - Bunch, TRASH - Trash, USER - User, SHARE - Share, Projects - Projects, Favorites - Favourites, Recent - Recent, Templates - Templates, Privacy - Privacy, VirtualRooms - Virtual rooms, FillingFormsRoom - Filling forms room, EditingRoom - Editing room, CustomRoom - Custom room, Archive - Archive, ThirdpartyBackup - Thirdparty backup, PublicRoom - Public room, ReadyFormFolder - Ready form folder, InProcessFormFolder - In process form folder, FormFillingFolderDone - Form filling folder done, FormFillingFolderInProgress - Form filling folder in progress, VirtualDataRoom - Virtual Data Room]
Can be one of:
DEFAULT
,COMMON
,BUNCH
,TRASH
,USER
,SHARE
,Projects
,Favorites
,Recent
,Templates
,Privacy
,VirtualRooms
,FillingFormsRoom
,EditingRoom
,CustomRoom
,Archive
,ThirdpartyBackup
,PublicRoom
,ReadyFormFolder
,InProcessFormFolder
,FormFillingFolderDone
,FormFillingFolderInProgress
,VirtualDataRoom
.- .
enum of integer
[0 - Default, 1 - Coomon, 2 - Bunch, 3 - Trash, 5 - User, 6 - Share, 8 - Projects, 10 - Favourites, 11 - Recent, 12 - Templates, 13 - Privacy, 14 - Virtual rooms, 15 - Filling forms room, 16 - Editing room, 19 - Custom room, 20 - Archive, 21 - Thirdparty backup, 22 - Public room, 25 - Ready form folder, 26 - In process form folder, 27 - Form filling folder done, 28 - Form filling folder in progress, 29 - Virtual Data Room]
Can be one of:
0
,1
,2
,3
,5
,6
,8
,10
,11
,12
,13
,14
,15
,16
,19
,20
,21
,22
,25
,26
,27
,28
,29
.
- updatedBy
object
- id
string
uuid ID
- displayName
string
Display name
- title
string
Title
- avatar
string
Avatar
- avatarOriginal
string
Original size avatar
- avatarMax
string
Maximum size avatar
- avatarMedium
string
Medium size avatar
- avatarSmall
string
Small avatar
- profileUrl
string
Profile URL
- hasAvatar
boolean
Specifies if the user has an avatar or not
- isAnonim
boolean
Specifies if the user is an anonim or not
- providerItem
boolean
Provider is specified or not
- providerKey
string
Provider key
- providerId
integer
int32 Provider ID
- order
string
Order
- id
string
Id
- rootFolderId
string
Root folder id
- originId
string
Origin id
- originRoomId
string
Origin room id
- originTitle
string
Origin title
- originRoomTitle
string
Origin room title
- canShare
boolean
Can share
- security
object
Security
- Read
boolean
- Comment
boolean
- FillForms
boolean
- Review
boolean
- Create
boolean
- Edit
boolean
- Delete
boolean
- CustomFilter
boolean
- EditRoom
boolean
- Rename
boolean
- ReadHistory
boolean
- Lock
boolean
- EditHistory
boolean
- CopyTo
boolean
- Copy
boolean
- MoveTo
boolean
- Move
boolean
- Pin
boolean
- Mute
boolean
- EditAccess
boolean
- Duplicate
boolean
- SubmitToFormGallery
boolean
- Download
boolean
- Convert
boolean
- CopySharedLink
boolean
- ReadLinks
boolean
- Reconnect
boolean
- CreateRoomFrom
boolean
- CopyLink
boolean
- Embed
boolean
- ChangeOwner
boolean
- IndexExport
boolean
- requestToken
string
- parentId
string
Parent folder ID
- filesCount
integer
int32 Number of files
- foldersCount
integer
int32 Number of folders
- isShareable
boolean
Specifies if a folder is shareable or not
- isFavorite
boolean
Specifies if a folder is favorite or not
- new
integer
int32 Number for a new folder
- mute
boolean
Specifies if a folder is muted or not
- tags
array of string
List of tags
- logo
object
- original
string
Original
- large
string
Large
- medium
string
Medium
- small
string
Small
- color
string
Color
- cover
object
- id
string
- data
string
- pinned
boolean
Specifies if a folder is pinned or not
- roomType
one of
- .
enum of string
[FillingFormsRoom - Form filling room, EditingRoom - Collaboration room, CustomRoom - Custom room, PublicRoom - Public room, VirtualDataRoom - Virtual data room]
Can be one of:
FillingFormsRoom
,EditingRoom
,CustomRoom
,PublicRoom
,VirtualDataRoom
.- .
enum of integer
[1 - Form filling room, 2 - Collaboration room, 5 - Custom room, 6 - Public room, 8 - Virtual data room]
Can be one of:
1
,2
,5
,6
,8
.
- private
boolean
Specifies if a folder is private or not
- indexing
boolean
Indexing
- denyDownload
boolean
Deny download
- lifetime
object
- deletePermanently
boolean
Specifies action
- period
enum of integer
int32 Can be one of:
0
,1
,2
.- value
integer
int32 Specifies time period value
- enabled
boolean
Enabled
- watermark
object
- additions
one of
- .
enum of string
[UserName - User name, UserEmail - User email, UserIpAdress - User ip adress, CurrentDate - Current date, RoomName - Room name]
Can be one of:
UserName
,UserEmail
,UserIpAdress
,CurrentDate
,RoomName
.- .
enum of integer
[1 - User name, 2 - User email, 4 - User ip adress, 8 - Current date, 16 - Room name]
Can be one of:
1
,2
,4
,8
,16
.
- text
string
Watermark Text
- rotate
integer
int32 Watermark text and image rotate
- imageScale
integer
int32 Watermark image scale
- imageUrl
string
Watermark image url
- imageHeight
number
double Watermark image height
- imageWidth
number
double Watermark image width
- type
one of
- .
enum of string
[DEFAULT - Default, COMMON - Coomon, BUNCH - Bunch, TRASH - Trash, USER - User, SHARE - Share, Projects - Projects, Favorites - Favourites, Recent - Recent, Templates - Templates, Privacy - Privacy, VirtualRooms - Virtual rooms, FillingFormsRoom - Filling forms room, EditingRoom - Editing room, CustomRoom - Custom room, Archive - Archive, ThirdpartyBackup - Thirdparty backup, PublicRoom - Public room, ReadyFormFolder - Ready form folder, InProcessFormFolder - In process form folder, FormFillingFolderDone - Form filling folder done, FormFillingFolderInProgress - Form filling folder in progress, VirtualDataRoom - Virtual Data Room]
Can be one of:
DEFAULT
,COMMON
,BUNCH
,TRASH
,USER
,SHARE
,Projects
,Favorites
,Recent
,Templates
,Privacy
,VirtualRooms
,FillingFormsRoom
,EditingRoom
,CustomRoom
,Archive
,ThirdpartyBackup
,PublicRoom
,ReadyFormFolder
,InProcessFormFolder
,FormFillingFolderDone
,FormFillingFolderInProgress
,VirtualDataRoom
.- .
enum of integer
[0 - Default, 1 - Coomon, 2 - Bunch, 3 - Trash, 5 - User, 6 - Share, 8 - Projects, 10 - Favourites, 11 - Recent, 12 - Templates, 13 - Privacy, 14 - Virtual rooms, 15 - Filling forms room, 16 - Editing room, 19 - Custom room, 20 - Archive, 21 - Thirdparty backup, 22 - Public room, 25 - Ready form folder, 26 - In process form folder, 27 - Form filling folder done, 28 - Form filling folder in progress, 29 - Virtual Data Room]
Can be one of:
0
,1
,2
,3
,5
,6
,8
,10
,11
,12
,13
,14
,15
,16
,19
,20
,21
,22
,25
,26
,27
,28
,29
.
- inRoom
boolean
InRoom
- quotaLimit
integer
int64 Quota
- isCustomQuota
boolean
Specifies if the room has a custom quota or not
- usedSpace
integer
int64 Counter
- external
boolean
Specifies if the link external
- passwordProtected
boolean
Specifies if the password protected
- expired
boolean
Expired
- fileEntryType
enum of integer
int32 Can be one of:
1
,2
.
401
Unauthorized