Following users

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member

Following users

Is there a way to find out the followed users for a specific user ?

4 Replies
Highlighted
Senior Member II

Re: Following users

Hi,

There is api available which is returning followers.

http://localhost:8080/alfresco/s/api/subscriptions/{useid}/followers/count (Return only Size)

http://localhost:8080/alfresco/s/api/subscriptions/{userid}/followers (Return some basic detail)

You can find here like which other apis available related to subscription.

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

Thanks,

Sanjay

Thanks & Regards,
Sanjay
Highlighted
Active Member

Re: Following users

Are there any examples showing how to use these api in a java code ?
Thanks.

Highlighted
Senior Member II

Re: Following users

You can take the help of SubscriptionService.

https://github.com/Alfresco/alfresco-remote-api/tree/master/src/main/java/org/alfresco/repo/web/scri...

Thanks & Regards,
Sanjay
Highlighted
Active Member

Re: Following users

Thanks.