Versions Compared

Key

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


Some information on this page refers to License Statistics v5.12 or newer, which changed the name of the "Current Usage Above 24 Hours" report to "Current Usage By Time Range." If you are using an earlier version of License Statistics, please refer to the documentation for versions prior to v5.12.

The Current Usage endpoint delivers current license usage metrics, as detailed below.

...

Anchor
above-n-hours
above-n-hours

Obtaining information about usage above/below N hours (report Current Usage By TimBy Time

...

RangeRange

You can easily list data about features currently in use for more/less than N hours by sending the following HTTP request

Code Block
languagejs
GET /api/v1/report/current-usage/aboveby-ntime-hoursrange/${returnType}?ab=${hoursAbove}&bl=${hoursBelow}&(additional parameters, as needed)

...


Example

The following example shows a command that downloads data in CSV format about features currently in use for at least 24 hours.

Code Block
languagejs
curl -H "X-Auth-token: token" "http://yourdomain/api/v1/report/current-usage/aboveby-ntime-hoursrange/csv?ab=24"