Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Introduction to AEM as a Cloud Service Asset Upload HTTP API | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

14-06-2021

BlogImage.jpg

Introduction to AEM as a Cloud Service Asset Upload HTTP API by Drew Robinson

Abstract

In AEM as a Cloud Service, image processing has been moved to the Asset Compute Microservice. Binary files are uploaded directly to blob storage instead of streaming through the AEM JVM.

In this post, I explain how to get started with the asset upload HTTP API. I review and demonstrate the below-illustrated steps ( 1, 2, and 3) using Postman as a client application.

Note: The Asset Upload HTTP API only works on Cloud Service, not for local SDK
Note: Adobe provides the AEM Upload tool to make uploading easier, and can be used as a command-line executable or required as a Node.js module.

Asset Upload
Note: Before you begin, create a user in AEM with sufficient permission to upload assets and create a folder within the asset dam to upload to. For the sake of demo and simplicity, I am using the basic authentication but Service Token base authentication is the preferred method.

1. Make a request for upload to AEM
The first step in the sequence is to make a request to AEM, relaying the intent to upload files. This requires authenticating with AEM and providing details about the assets you intend to upload (e.g. file name, file size).

The URI format for this POST call is:
https:///content/dam/.initiateUpload.json

Add Basic Auth Credentials

Read Full Blog

Introduction to AEM as a Cloud Service Asset Upload HTTP API

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager