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

Is it possible to access Assets rest api from a new project via "Create new project" in developer console?

Avatar

Level 4

Hi all,
    Like what I ask in subject. Is it possible to access Assets rest api from a new project via "Create new project" in developer console? When I am adding an API into a new project in develop console, it is not easy to find an API related to Assets.
    Or,  it is only possible to access Assets api from local env setup via project firefly/app builder?
    Any suggestions?
    Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 4

I have to correct the answer here. Through recent deeper investigation, I find it is possible for my question. Before, I didn't have the access to Author (dev/uat env) env and also didn't understand what author service is and how to access it.

Firstly, need to get AEM author or publish access from AEM admin, and this can be finished in admin console.

Getting access token:
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/a...

Access Assets rest api:
https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html#r...

 

View solution in original post

3 Replies

Avatar

Level 4

Is Assets module providing rest api to be accessed from external applicaiton? Or is there any way or idea to access Assets api outside?

Avatar

Correct answer by
Level 4

I have to correct the answer here. Through recent deeper investigation, I find it is possible for my question. Before, I didn't have the access to Author (dev/uat env) env and also didn't understand what author service is and how to access it.

Firstly, need to get AEM author or publish access from AEM admin, and this can be finished in admin console.

Getting access token:
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/a...

Access Assets rest api:
https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html#r...