Forum Discussion

peterlu's avatar
peterlu
Champion
12 years ago

Top accepted solution author leaderboard rest api

We have top kudo author leaderboard api according to this article

http://lithosphere.lithium.com/t5/developers-discussion/Leaderboard-on-landing-page/m-p/64228

/restapi/vc/kudos/authors/leaderboard

 

And it seems we have Top accepted solution author leaderboard component as well, according to this article

http://lithosphere.lithium.com/t5/support-knowledge-base/Adding-a-Top-Accepted-Solution-Authors-Leaderboard/ta-p/80652

 

 

My question is:

Do we have a rest api for solution authors leaderboard?

 

PS - sorry, I cannot find the api in the docs. My bad :) Anyone can shed some lights? Thanks.

 

 

1 Reply

  • YuriK's avatar
    YuriK
    Khoros Expert
    12 years ago

    Hey Peterlu,

     

    We don't currently have an API to return you the solution leaderboard. There is also no good workaround that I know of to get that information currently. Can you please add this as an idea to our idea board.

     

    The only other thing I can think of is creating an endpoint, iterating over all your users, and using the user solutions api to get the solutions counts to build out the leaderboard yourself. You can then have some process to call that endpoint once a day or so (so that it's never called on demand) to get the information. However, this will still be fairly inefficient and not scalable for bigger communities.

     

    Hope this helps,

     

    Yuri