Highlighted

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

Avatar

Avatar

Qamar_khan

Avatar

Qamar_khan

Qamar_khan

12-06-2018

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

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

12-06-2018

Are you referring to this API?

Assets HTTP API

Highlighted

Avatar

Avatar

Qamar_khan

Avatar

Qamar_khan

Qamar_khan

12-06-2018

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