Forum Discussion

erjames5's avatar
erjames5
Expert
11 years ago
Solved

Rest API for Kudos by Board Type

I am looking for a rest api call that will pull kudos given to a specific board type for the past day.  For example, I want to get the number of kudos from the past day from blogs, the number of kudo...
  • erjames5's avatar
    11 years ago

    I have contacted the Lithium support team and they have concluded that there is no way to get these results with one rest call.  So, here is what I ended up doing to fix my problem in case anyone else has a similar issue:

     

    Make a rest call to get all ids for the select discussion style:

         /restapi/vc/boards/style/qanda/nested

     

    Then, use those ids to make the below rest call and retrieve the kudos information:

         /restapi/vc/boards/id/BOARD_ID/metrics/name/kudos_events?date_start=2014-10-06&date_end=2014-10-07

     

    Feel free to ask questions if anyone has a similar issue.  Thanks for everyone's help!