Folder
Creates or updates the folder specified by the `folderPath`. If the folder's ancestors do not exist, they will be created automatically (with empty FolderSettings). Note: you don't need to create folders before uploading files to them. Requires a `secret_*` API key. Alternatively, you can use a `public_*` API key and JWT-based auth.
Changed onCreates or updates the folder specified by the folderPath.
If the folder's ancestors do not exist, they will be created automatically (with empty FolderSettings).
Note: you don't need to create folders before uploading files to them.
Requires a secret_* API key. Alternatively, you can use a public_* API key and JWT-based auth.
put/v2/accounts/{accountId}/folders
Request
- Base URLhttps://api.bytescale.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
Example:A623uY2
Request body
Example request
{
"folderPath": "/uploads"
}Response
Success.
Example response
{
"folderPath": "/uploads",
"settings": {},
"settingsInherited": {
"publicPermissions": {
"folderPath": "/",
"value": [
{
"scope": "Children",
"permissions": {
"file": {
"downloadFile": [
"*"
]
}
}
}
]
},
"storageLayer": {
"folderPath": "/",
"value": {
"type": "InternalStorageV2"
}
}
},
"type": "Folder",
"virtual": true
}Changes
- breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - info
the request property
/became optional - info
the request property
/became optional - info
the request property
/became optional - info
removed from the
/response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status
- breaking