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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Adding asset metadata with the asset using the asset api

Avatar

Level 3

Sorry if this has been answered before.

When submitting an asset for upload using the asset REST API POST method, is it possible to also send the metadata  you want to add to the asset in the same call or would that require a second upload?

1 Accepted Solution

Avatar

Correct answer by
Employee

@Robert-Harper 
I believe it should be two separate calls, the CREATE call would create the Asset and for Update Metadata, the call would only work when the asset already exists.

 

Also, please find the below links for more information on Assets HTTP API and little caveats related to property namespace when you update the metadata
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/mac-ap...

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

@Robert-Harper 
I believe it should be two separate calls, the CREATE call would create the Asset and for Update Metadata, the call would only work when the asset already exists.

 

Also, please find the below links for more information on Assets HTTP API and little caveats related to property namespace when you update the metadata
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/mac-ap...