arifsetiawan / mosaic

Simple activity stream API server
0 stars 0 forks source link

Check "following" status #4

Open andriyadi opened 10 years ago

andriyadi commented 10 years ago

Need an endpoint to check whether a user is followed by current user.

Then also need the follower and following count of a user. Mungkin dijadiin as a property in user detail. Hence, also need user details endpoint :)

arifsetiawan commented 10 years ago

GET user data

GET http://localhost/mosaic/v1/user/id

Check if user a follows user b

GET http://localhost/mosaic/v1/user/USER:A:ID/follows/USER:B:ID