Download OpenAPI specification:Download
API definitions for folder management capabilities in Adobe Experience Manager. To configure a client to access to these APIs, visit the Adobe Developer Console and add the "AEM Assets Author API" card or the "AEM CS Sites Content Management API" card to your project.
The folder path is specified as a query parameter. Child folders are returned in a JSON array.
If-None-Match | string The For more details, please head over to RFC9110. |
List of children at the specified path
Not Modified
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "self": {
- "folderId": "urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75",
- "name": "my-folder",
- "title": "My Folder",
- "path": "/content/dam/my-folder"
}, - "children": [
- {
- "folderId": "urn:aaid:aem:cfb1a485-2c79-4276-a0d9-d2f46870ac65",
- "name": "child-folder-1",
- "title": "Child Folder 1",
- "path": "/content/dam/my-folder/child-folder-1"
}, - {
- "folderId": "urn:aaid:aem:d92372b8-5187-11ee-be56-0242ac120002",
- "name": "child-folder-2",
- "title": "Child Folder 2",
- "path": "/content/dam/my-folder/child-folder-2"
}
]
}
Returns headers, including an ETag for the specified folder path specified as a query parameter
If-None-Match | string The For more details, please head over to RFC9110. |
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}
One or more folder paths can be specified in the request body. The folders will be created at the specified paths. If intermediate folders are missing, those will be created as well. This operation is limited to batches of 10 folders.
Folder created
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Conflict
[- {
- "path": "/content/dam/my-folder",
- "title": "My Folder"
}
]
{- "data": {
- "values": {
- "successes": [
- {
- "folderId": "string",
- "name": "test-folder",
- "title": "Test Folder",
- "path": "/content/dam/test-folder"
}
]
}
}, - "operation": "string",
- "status": 0,
- "description": "string",
- "errors": [
- {
- "type": "string",
- "title": "string",
- "detail": "string"
}
], - "warnings": [
- {
- "type": "string",
- "title": "string",
- "detail": "string"
}
]
}
The folders with the specified paths will be deleted. If the delete operation requires more than a few seconds to complete, a job is created and a status link is returned in the response's 'Location' header. Once the async job is complete, the status link will return the results of the operation.
Folders deleted successfully
Accepted
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Conflict
{- "paths": [
- "/content/dam/my-folder"
], - "recursive": true,
- "force": true
}
{- "operation": "adobe.folders.deleteFolders",
- "status": 200,
- "description": "Folders have been successfully deleted.",
- "data": {
- "deletedFolders": [
- "/content/dam/test-folder",
- "/content/dam/another-folder",
- "/unsupported/folder"
]
}, - "errors": [
- {
- "title": "Forbidden",
- "detail": "You do not have permission to delete a folder at /content/dam/restricted-folder"
}, - {
- "title": "Not Implemented",
- "detail": "Support for the operation on /unsupported/folder hasn't been implemented."
}
]
}
Returns headers, including an ETag for the specified folder, which can be a lighter method of checking for the existence of, or validating a cached version of a folder without sending a full GET request.
If-None-Match | string The For more details, please head over to RFC9110. |
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}
The specified folder's child folders are returned in a JSON array.
If-None-Match | string The For more details, please head over to RFC9110. |
List of children at the specified path
Not Modified
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "self": {
- "folderId": "urn:aaid:aem:1a034bee-ebda-4787-bad3-f924d0772b75",
- "name": "my-folder",
- "title": "My Folder",
- "path": "/content/dam/my-folder"
}, - "children": [
- {
- "folderId": "urn:aaid:aem:cfb1a485-2c79-4276-a0d9-d2f46870ac65",
- "name": "child-folder-1",
- "title": "Child Folder 1",
- "path": "/content/dam/my-folder/child-folder-1"
}, - {
- "folderId": "urn:aaid:aem:d92372b8-5187-11ee-be56-0242ac120002",
- "name": "child-folder-2",
- "title": "Child Folder 2",
- "path": "/content/dam/my-folder/child-folder-2"
}
]
}
The folder with the specified ID will be deleted. If the delete operation requires more than a few seconds to complete, a job is created and a status link is returned in the response header that can be used to check the status.
Folder deleted successfully
Accepted
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "operation": "adobe.folders.deleteFolders",
- "status": 200,
- "description": "Folders have been successfully deleted.",
- "data": {
- "deletedFolders": [
- "/content/dam/test-folder",
- "/content/dam/another-folder",
- "/unsupported/folder"
]
}, - "errors": [
- {
- "title": "Forbidden",
- "detail": "You do not have permission to delete a folder at /content/dam/restricted-folder"
}, - {
- "title": "Not Implemented",
- "detail": "Support for the operation on /unsupported/folder hasn't been implemented."
}
]
}
Retrieves the current status of a job created by the folder API.
Status of a job being processed
The job has finished executing and results are available at the indicated location.
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "jobId": "85f7c90a-a252-4e82-8cf3-3c989829cdf9",
- "state": "PROCESSING"
}
Retrieves the current status of a job created by the folder API.
The results of the completed or failed async job.
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
Not Found
Unacceptable. indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
{- "operation": "adobe.folders.deleteFolders",
- "status": 200,
- "description": "Folders have been successfully deleted.",
- "data": {
- "deletedFolders": [
- "/content/dam/test-folder",
- "/content/dam/another-folder",
- "/unsupported/folder"
]
}, - "errors": [
- {
- "title": "Forbidden",
- "detail": "You do not have permission to delete a folder at /content/dam/restricted-folder"
}, - {
- "title": "Not Implemented",
- "detail": "Support for the operation on /unsupported/folder hasn't been implemented."
}
]
}