Highlighted

How get image renditions in Content As A Service

DEBAL_DAS

04-03-2018

Hi,

I have created CaaS and its Entity is an Asset Model. I have added list of digital assets(images) in the Asset Lists.

When I have previewed the service on author and publish I could see each and every digital asset i.e. image path for Key: dam:path in the JSON response.

If I would like to get renditions of each and every assets what needs to be done.

Here is the JSON response -

1433054_pastedImage_0.png

I have referred following link: AEM 6.3 First Looks: Content as a Service

Do I need to write custom service to get renditions of images for external consumption?

Please correct my understanding.

Thanks

Replies

Highlighted

navinkaushal

04-03-2018

Hi DEBAL DAS​,

You may probably need to:

1. Create custom Content Service (please refer Adobe Experience Manager Help | Getting Started with AEM Content Services )

2. Use the asset share component to share the Asset using the custom service.

Hope this works