ActivityStatus object

The current (updated) activity status, plus an overview of the current status of the course as a whole. The payload consists of three parts:

  1. activity information about the activity (step) that was just completed
  2. result information about the achieved results for that activity
  3. course information about the overall achievements at course level

Examples

Example for a completed drills step:

{
  "activity": {
    "type": "DRILLS",
    "id": "zL8-QWa1Bfyy4IbRwx8Upw",
    "playables": [{
      "type":"DRILL",
      "id":"6oh1EsxpJYqEcNuRwxS76Q"
    }]
  },
  "result": {
    "proficiency": {
      "current": 100,
      "highest": 100
    },
    "timeSpent": 216
  },
  "course": {
    "proficiency": {
      "current": 100,
      "highest": 100
    },
    "progress": 100,
    "timeSpent": 234
  }
}

Example for a completed story step for a course that also contains drills:

{
  "activity": {
    "type": "STORY",
    "id": "YmdP2Z4gv2PUCtCP6nDymA"
  },
  "result": {
    "progress": 100
  },
  "course": {
    "proficiency": {
      "current": 88,
      "highest": 100
    },
    "progress": 100,
    "timeSpent": 234
  }
}

Example for a completed story step for a course that does not contain any drills:

{
  "activity": {
    "type": "STORY",
    "id": "YmdP2Z4gv2PUCtCP6nDymA"
  },
  "result": {
    "progress": 100
  },
  "course": {
    "progress": 100
  }
}