API SpecificationFolders
Create folder
Creates a new folder within a bucket at the specified parent path.
Authorization
OAuth2 upl:uploads:createAuthorizationBearer <token>
OAuth 2.0 authorization
In: header
Scope: upl:uploads:create
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
bucketRef?|
Reference to the bucket
name?string
Name of the new folder
Length
1 <= length <= 128parentPath?string
Path of the parent folder
Length
1 <= length <= 256[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketFoldersService/CreateFolder" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"folder": {
"folderId": "string",
"path": "string",
"parentPath": "string",
"colour": "string",
"hasPublicDirectoryListing": true,
"inheritedHasDirectoryListing": true,
"privateAccess": true,
"inheritedPrivateAccess": true,
"isShareRoot": true,
"scopingOauthClientId": "dfbc0836-6edf-40f5-a722-cd887dfac017",
"scopingOauthClient": {
"clientId": "string",
"name": "string",
"websiteUrl": "string",
"logoUrl": "string",
"description": "string",
"isVerified": true,
"createdAt": "2023-01-15T01:30:15.01Z",
"applicationBindings": [
{
"applicationId": "string",
"config": {
"jsonConfig": {
"property1": {},
"property2": {}
}
}
}
]
}
}
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}