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

Exposing Asset Properties With REST API

tarunc78167861
Level 2
Level 2

Hello,

I'm trying to access an asset's metadata through the REST API. I understand that metadata is stored as XMP on the actual file. If I make an Edit Asset request as described here(https://helpx.adobe.com/experience-manager/6-3/assets/using/mac-api-assets.html​) and attempt to edit a property named "./dc:foobar" it will create a property directly to the asset it seems. If I make a GET request to /api/assets/myFolder/myAsset.jpg.json then that new "dc:foobar" property will be found in the response's "properties" object. How can I expose these properties to the user. Ideally, I'd like to include them in a metadata scheme. If this is not possible, how can I edit asset metadata through the REST API and have it be exposed on the asset's properties UI in AEM?

Thank you

1 Reply
tarunc78167861
Level 2
Level 2

Oops, apparently I never tried to edit the metadata object within the properties object that I get from the GET request. That was the solution.