code: public List<EventBase> getEventsList() throws Exception {
          final String eventsPath = StringUtils.join(new String[]{
                  getUri(),
                  "events"
          }, '/');
          final JSONArray array = toJSONArray(client.get(eventsPath, null));
  
          final List<EventBase> list = new ArrayList<EventBase>();
          for (final Object object : array) {
              list.add(new EventBase((JSONObject) object));
          }
          return list;
      }
docs: Gets the events that occurred during the call.
  
  @return events the events list
  @throws IOException unexpected error.