Folders
Create a new folder.
This endpoint creates a folder or folder hierarchy under a specified parent container, which may be a Project or another Folder. The client must supply either a name (for single folder creation) or a path (for hierarchy creation).
post/folders
Request
- Base URL: https://cloudstorage.adobe.io/v1
- URL: https://cloudstorage.adobe.io/v1/folders
- Auth: HTTP bearer
Headers
x-request-idstring
Example:1234567890
The X-Request-Id header is used to identify a request.
It can be used to correlate logs and other resources and is intended to be a non-persistent identifier.
Request body
Example request
{
"parentId": "urn:aaid:sc:US:4f2fc15c-c062-4951-b37b-1f65ed62a174",
"path": "/My Project/My Folder/My Asset",
"options": {
"autorename": true
}
}Response
Created - The folder was created successfully.
Example response
{
"assetId": "urn:aaid:sc:US:4f2fc15c-c062-4951-b37b-1f65ed62a174",
"name": "My Asset",
"createdDate": "2021-01-01T00:00:00Z",
"modifiedDate": "2021-01-01T00:00:00Z",
"createdBy": "08D81E3B665BE5640A495C2C@AdobeOrg",
"modifiedBy": "08D81E3B665BE5640A495C2C@AdobeOrg",
"path": "/My Project/My Folder/My Asset",
"ancestors": [
"urn:aaid:sc:US:4f2fc15c-c062-4951-b37b-1f65ed62a174",
"urn:aaid:sc:US:4f2fc15c-c062-4951-b37b-1f65ed62a175",
"urn:aaid:sc:US:4f2fc15c-c062-4951-b37b-1f65ed62a176"
]
}