Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
firstline1
linenumberstrue
GET /api/report/user-history/${featureId}/${returnType}?ssd=${sessionStartDate}&sed={sessionEndDate}&(additional parameters, as needed)

where:

 

- $ indicates a variable value that you can replace with an appropriate value, as needed 

- the possible parameters are as follows:

...

For example, say you would like to view all sessions for feature 3 over some period of time. To generate such data, enter a command/request that is similar to the following: 

Code Block
languagejs
firstline1
linenumberstrue
curl --data "ssd=2015-01-01" --data "sed=2015-01-02" -H "X-Auth-token: token" "http://yourdomain/report/user-history/3/json"

...

Let's assume you want to see all sessions for feature 3 ordered by username over a specific period of time. To do this, enter a command/request similar to the following: 

Code Block
languagejs
firstline1
linenumberstrue
curl --data "orderBy=un" --data "ssd=2015-01-01" --data "sed=2015-01-02" -H "X-Auth-token: token" "http://yourdomain/report/user-history/3/json"

...