Forum Discussion

dhiraj_gophane's avatar
12 years ago

how to retrieve rank of a member using rest api??

I want to display name and rank of a particular member who is the author of a particular post. I got the API to retrieve the list of post and its author. but how to retrieve rank of that member??...
  • AdamN's avatar
    12 years ago

    The REST API method to get a user's rank is:

    /users/id/<user_id>/ranking

     Where <user_id> is the numerical user id for that user. For example, if the user's id number is 43 then your call would look like:

    http://community.yourdomain.com/restapi/vc/users/id/43/ranking