AEM Assets · updated
AEM Assets APIs on Cloud Service: the Assets HTTP API, direct binary upload and the Author API
On Cloud Service the Assets HTTP API at /api/assets still lists folders, creates folders, updates metadata, and copies, moves and deletes. It no longer creates assets or replaces their files: Adobe has deprecated that. Files are uploaded with direct binary upload in three steps: initiate, send the file to cloud storage, complete. Adobe also publishes a newer Assets Author API under /adobe/assets.
In plain words
If a script on your 6.5 system pushes files into AEM with a single POST, it will not work on Cloud Service. The file itself must go straight to cloud storage, not through AEM. Adobe publishes an open-source library, aem-upload, that does the three steps for you. Reading and editing metadata over HTTP still works much as before.
Which API for which job
| Job | What to use on Cloud Service |
|---|---|
| List a folder | Assets HTTP API: GET /api/assets/myFolder.json |
| Create a folder | Assets HTTP API: POST /api/assets/myFolder |
| Create an asset or replace its file | Direct binary upload (the aem-upload library). Adobe says the Assets HTTP API cannot do this |
| Update an asset's metadata | Assets HTTP API: PUT /api/assets/myfolder/myAsset.png, or the Author API: PATCH /adobe/assets/{assetId}/metadata |
| Copy, move or delete | Assets HTTP API |
| Bring in a file from a URL | Author API: POST /adobe/assets/import/fromUrl |
| Content Fragments | Adobe recommends the newer Content Fragment OpenAPIs over the Assets HTTP API |
Direct binary upload in three steps
- Initiate: POST to the folder with the selector .initiateUpload.json, for example /content/dam/assets/folder.initiateUpload.json. The 201 response gives a completeURI and, for each file, an uploadToken, a list of uploadURIs, a minPartSize and a maxPartSize.
- Upload: send the file's bytes to the upload URIs. If the file is no larger than maxPartSize, one URI is enough. Otherwise split it. Adobe's advice is to use parts of exactly maxPartSize, in order.
- Complete: POST to the completeURI as form data with fileName, mimeType and uploadToken. Optional fields include createVersion, versionLabel, versionComment and replace.
Processing starts only after the complete call. Adobe warns that initiate or complete can return 404 just after a folder is created, because storage is eventually consistent, and says clients should retry with a back-off. If the asset exists and neither createVersion nor replace is sent, the current version is updated with the new file.
The Assets Author API
Adobe's specification (version 2026.10) puts this API at https://author-pXXXX-eYYYY.adobeaemcloud.com/adobe/assets. It addresses assets by ID, not by path. Calls take a bearer token and an X-Api-Key header; Adobe says to add the 'AEM Assets Author API' to a project in the Adobe Developer Console to get credentials. It covers reading and deleting an asset, search, reading and patching metadata (as a JSON Patch document, with If-Match), relations between assets, renditions, and import from a URL.
Response details that trip people up
- The Assets HTTP API returns a Siren JSON representation. Adobe says the JSON body is optional for some file types, so rely on the response code.
- In the returned JSON, jcr:title and jcr:description appear as dc:title and dc:description.
- Creating a folder returns 409 if it exists and 500 if the parent does not.
Requests from Adobe's Assets HTTP API page (shortened notation, as Adobe writes them)
GET /api/assets/myFolder.json
POST /api/assets/myFolder -H"Content-Type: application/json" -d '{"class":"assetFolder","properties":{"title":"My Folder"}}'
PUT /api/assets/myfolder/myAsset.png -H"Content-Type: application/json" -d '{"class":"asset", "properties":{"dc:title":"My Asset"}}'How to move an upload script from 6.5
- Find every script or integration that POSTs files to /api/assets or to a Sling servlet.
- Replace the upload with Adobe's aem-upload library, or implement initiate, upload and complete yourself.
- Add a retry with back-off for 404 responses on initiate and complete.
- Keep metadata updates on the Assets HTTP API, or move them to the Author API if you work with asset IDs.
- Do not wait for renditions straight after upload: processing by asset microservices starts after the complete call and takes time.
Related tools and pages on this site
- Dynamic Media delivery URL builder (free, runs in your browser)
- Workfront API request builder (free, runs in your browser)
Questions
Can I still create an asset with POST /api/assets?
No. Adobe's page says asset creation is not supported through this HTTP API on Cloud Service and points to the asset upload API.
Is there a ready-made client for direct binary upload?
Yes. Adobe names two open-source projects: the aem-upload library and a command-line tool, aio-cli-plugin-aem.
How big should each uploaded part be?
Use the maxPartSize value from the initiate response. Adobe says this is the easiest and safest way, and warns against working the size out from the number of upload URIs.
Does the Author API use paths or IDs?
IDs. Its paths are of the form /adobe/assets/{assetId}/..., and the specification describes the ID as an opaque string defined by the repository.
Sources
- Adobe: Assets HTTP API (/api/assets) (checked 13 Nov 2026)
- Adobe: Assets developer use cases, APIs and reference material (direct binary upload) (checked 13 Nov 2026)
- Adobe Developer: Assets Author API reference (OpenAPI 2026.10) (checked 13 Nov 2026)
- Adobe: Process assets using asset microservices (overview) (checked 13 Nov 2026)
Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.
Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.