API Usage (Billing v2)

Unauthorized: JWT not supplied

Note:

use your Auth0 allowed app ClientID and ClientSecret to generate JWT token

for web UI, paste the token on below to allow it

for API, use the jwt token as `Authorization: Bearer yourToken` in the header

Example:

curl --request POST --url https://api-usage-prod.lyve.seagate.com --header 'Authorization: Bearer myJwtToken'

Paste JWT Token Here to validate or to access the UI

Exposed APIs:

  1. GET/POST `/globalUsage/averaged` - get averaged statistics by start and end date.
    startDate (required)
    start date in format `YYYY-MM-DD` (inclusive)
    endDate (required)
    end date in format `YYYY-MM-DD` (inclusive)
  2. GET/POST `/globalUsage/clearCacheAveraged` - clear cache
    startDate (required)
    start date in format `YYYY-MM-DD` (inclusive)
    endDate (required)
    end date in format `YYYY-MM-DD` (inclusive)
  3. GET/POST `/lastAccess/latest` - get last access of each root/sub/email
    no input required
    it would always get the latest