Skip to content

Activities

Jorge Alvarez edited this page Dec 28, 2020 · 3 revisions

Activities

An activity is an action that a receiver has performed. The things you want to gamify in your application, like: "Downloading a file". When the user performs that action you should generate an activity that needs to be submitted to this application.

Then a check will be done to see if the activity awarded the receiver with any rewards.

      query {
        activities(startsAt: "", endsAt: "") {
          action {
            name
          }
          receiver {
            points
          }
        }
      }
Clone this wiki locally