Create a third-party room
POST /api/2.0/files/rooms/thirdparty/{id}
Request
Creates a room in the "Rooms" section stored in a third-party storage.
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
.
Path
- id
string
required ID of the folder in the third-party storage in which the contents of the room will be stored
Body
Parameters for creating a room
- createAsNewFolder
boolean
Create as new folder
- title
string
Room name
- 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
Private
- indexing
boolean
Indexing
- denyDownload
boolean
Deny download
- color
string
Color
- cover
string
Cover
- tags
array of string
Tags
- logo
object
Logo request parameters
- tmpFile
string
The path to the temporary image file
- x
integer
int32 The X coordinate of the rectangle starting point
- y
integer
int32 The Y coordinate of the rectangle starting point
- width
integer
int32 The rectangle width
- height
integer
int32 The rectangle height
Examples
POST /api/2.0/files/rooms/thirdparty/5706 HTTP/1.1
Accept: application/json
Content-Length: 329
Content-Type: application/json
Host: example.com
{
"createAsNewFolder": true,
"title": "boliviano_boliviano_system",
"private": true,
"indexing": true,
"denyDownload": true,
"color": "some text",
"cover": "some text",
"tags": [
"some text"
],
"logo": {
"tmpFile": "some text",
"x": 1234,
"y": 1234,
"width": 1234,
"height": 1234
}
}
curl --request POST \
--url https://example.com/api/2.0/files/rooms/thirdparty/5706 \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"createAsNewFolder": true,
"title": "boliviano_boliviano_system",
"private": true,
"indexing": true,
"denyDownload": true,
"color": "some text",
"cover": "some text",
"tags": [
"some text"
],
"logo": {
"tmpFile": "some text",
"x": 1234,
"y": 1234,
"width": 1234,
"height": 1234
}
}'
Responses
200
Room information
- 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