Expand my Community achievements bar.

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...