5 Replies Latest reply on Jan 21, 2015 3:31 PM by ryanrutan

    How can I GET total bunchball points for a user?

    jtelford-groupon

      Hi folks,

       

      We have a Jive instance running with the gamification module installed. We also have a separate application that wants to know the total number of points a user has earned in Jive.

       

      I am imagining we can do a GET call to some endpoint, but I am struggling to find out how to do that. Please note; I do not wish to create any kind of "Jive app" or integration, I simply want to get the total number of points to be consumed by another application.

       

      An example might be something like:

       

      $ curl -v -X GET http://our-jive/some/api/gamification/points/jtelford

      > GET / HTTP/1.1

      > User-Agent: curl/7.30.0

      > Host: our-jive

      > Accept: */*

      >

      < HTTP/1.1 200 Ok

      < Cache-Control: private

      < Content-Type: application/json; charset=UTF-8

      <

      {"user":"jtelford","points":1000}

       

      Ideally, we'd also like to deduct points using a similar API, but for now, GET is enough.

       

      Thanks for your help