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.lyve.seagate.com
--header 'Authorization: Bearer myJwtToken'
Paste JWT Token Here to validate or to access the UI
Exposed APIs:
- GET/POST /globalUsage/averaged - get averaged statistics by start and end date, based on main region multiplied by number of replica per bucket/object.
- startDate (required)
- start date in format YYYY-MM-DD (inclusive)
- endDate (required)
- end date in format YYYY-MM-DD (inclusive)
- GET/POST /globalUsage/clearCacheAveraged - clear cache for past queries with exact start date and end date
- startDate (required)
- start date in format YYYY-MM-DD (inclusive)
- endDate (required)
- end date in format YYYY-MM-DD (inclusive)
- GET/POST /globalUsage/storageClassBucketRegion - get storage class usage per region, based on real main region and replicated object.
- startDate (required)
- start date in format YYYY-MM-DD (inclusive)
- endDate (required)
- end date in format YYYY-MM-DD (inclusive)
- GET/POST /lastAccess/latest - get last access of each root/sub/email
- no input required
- it would always get the latest