cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume Alfresco APIs from an angular application?

KarekMedAM
Star Contributor
Star Contributor

I have an angular application, and I want to interact with Alfresco community 7.1 via APIs from this List . how can I call these APIs?
Another question, I know that is possible to integrate ADF with angular applications, is there any tutorial or guide on how-to ?

1 REPLY 1

Mark_Davidson
Confirmed Champ
Confirmed Champ

You can call the Alfresco REST API from JS very easily. I see you've found the API Explorer. It's a good place to start as you can use it to try out the various endpoints & experiment with different parameters. Just remember to authorise first. Default credentials are admin/admin. Once authorised you can try out the endpoints in API Explorer. You should be able to see what the endpoint URLs are, the request params, response, etc.

Alternatively you can add the alfresco-js-api (https://github.com/Alfresco/alfresco-js-api) as a dependency so you won't have to bother with the boilerplace REST code.