Forum Discussion

njoshi00's avatar
njoshi00
Contributor
10 years ago

API to get community ranking structure

Is there any API or way to get the community ranking strcutrue pragmatically ?

 

Using a customized UI, We want to show user where he/she stands in overall ranking. I know there is API to fetch rank for given user but could not find one to fetch overall ranking configured for community pragmatically.   

 

 

3 Replies

  • Hello and welcome to the Lithium Community,

    According to the existing Lithium API documentation for "Ranking" there is indeed no way to programmatically pull the whole ranking structure. How would you expect this API to work and what object(s) should it return?

  • njoshi00's avatar
    njoshi00
    Contributor
    10 years ago
    Hi,

    I would expect the response with list of configured ranks for given community id.

    Object may contains properties like rank id, name, all possible fields displayed on User Ranking admin screen.

    Thanks,
    Nikhil
  • mahesh_revanwar's avatar
    mahesh_revanwar
    Expert
    10 years ago

    Hi,

     

    Is there any API call present to retrieve only rank position of particular rank?

     

     

    Regards,

    Mahesh Revanwar