cancel
Showing results for 
Search instead for 
Did you mean: 

How to authenticate at API in Alfresco 23.2.0 Comminity addition

lukyanenaA
Champ in-the-making
Champ in-the-making

Greeting friends, I have installed Alfresco Comminity addition 23.2.0 through zip file folowed by steps at article:
https://connect.hyland.com/t5/alfresco-blog/installing-alfresco-23-2-in-ubuntu-24-04-using-zip-distr...

And i try to authenticate throught postman, but i don't no which endpoint in REST API to hit
for example to get people is use (after authenticate through GUI share web page) 

http://localhost:8080/share/proxy/alfresco/api/groups
http://localhost:8080/share/proxy/alfresco/api/people

I try to trace post request though network tab in Dev Tools (F12), no luck


2 REPLIES 2

fedorow
Elite Collaborator
Elite Collaborator

Use API Explorer for help. If you have it installed go to http://${SERVER_NAME}/api-explorer . If not, check  https://api-explorer.alfresco.com/api-explorer/

There are two way to authenticate from postman: Base authentication with username/password or get a ticket from authentication api.

curl -X 'POST' \
'https://uour-server.com/alfresco/api/-default-/public/authentication/versions/1/tickets' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"userId": "admin",
"password": "admin"
}'

 

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

You can access alfresco webscript by below way also.

http://localhost:8080/alfresco/s/index