Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How get UID of asset inside content/dam folder by api json http request.

Avatar

Level 3

Hello All,

         I am trying to get the view properties details of asset by using api json http request.

Like

1.http://localhost:4502/api.json

2.http://localhost:4502/api/assets.json

3.And then searched folder and after that asset.

Thanks & Regards

Qamar

2 Replies

Avatar

Level 3

Thanks for reply, yes true I am using this http API as I mentioned above.

With the help of these API I have retrieved the below sequence as

1./api.json  response provide me /api/assets.json and /api/content.json like this

2./api/assets.json  response provide me./api/assets/MyFolder.json and all folders

3./api/assets/MyFolder.json response provide me /api/assets/MyFolder/Image2.jpg.json and other assets inside folder

4./api/assets/MyFolder/Image2.jpg.json response provide me /api/assets/MyFolder/Image2.jpg/renditions.json

5./api/assets/MyFolder/Image2.jpg/renditions.json gives response of rendition details.

BUT I UNABLE TO GET ASSET UID AND OTHER META DETAILS ANY MORE.

In case of content.json search

1./api.json  response provide me /api/assets.json and /api/content.json like this

2./api/content.json  giving me all folders under CotentRoot/content/campaigns etc...

BUT UNABLE TO GET CONTENT/DAM/MYFOLDER.

SO PLEASE LET ME KNOW IS THERE ANYTHING I AM MISSING OR INCORRECT WAY  TO DO SO.

Thanks & Regrads

Qamar