storj/satellite/console/consoleweb/consoleapi
Vitalii Shpital 2ccfd13d7f apigen: endpoint to get all buckets usage by project ID
Added new endpoint to get all bucket rollups by bucket ID.

Example of response:
vitalii:~/Documents$ ./testapi.sh
HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 07 Mar 2022 11:18:55 GMT
Content-Length: 671

[{"projectID":"a9b2b1b6-714a-4c49-99f1-6a53d0852525","bucketName":"demo-bucket","totalStoredData":0.0026272243089674662,"totalSegments":0.05000107166666666,"objectCount":0.03333373083333333,"metadataSize":1.6750359008333334e-9,"repairEgress":0,"getEgress":0,"auditEgress":0,"since":"2022-03-01T11:00:00Z","before":"2022-03-07T11:17:07Z"},{"projectID":"a9b2b1b6-714a-4c49-99f1-6a53d0852525","bucketName":"qwe","totalStoredData":0.000018436725422435552,"totalSegments":0.016667081388888887,"objectCount":0.016667081388888887,"metadataSize":1.933381441111111e-9,"repairEgress":0,"getEgress":0,"auditEgress":0,"since":"2022-03-01T11:00:00Z","before":"2022-03-07T11:17:07Z"}]

Change-Id: I8b04b24dbc67b78be5c309ce542bf03d6f67e65d
2022-03-23 15:12:27 +00:00
..
gen apigen: endpoint to get all buckets usage by project ID 2022-03-23 15:12:27 +00:00
analytics.go Track user events through HubSpot events API (#4300) 2021-12-09 12:52:51 -08:00
api.gen.go apigen: endpoint to get all buckets usage by project ID 2022-03-23 15:12:27 +00:00
apikeys_test.go satellite/console: Implement MFA backend 2021-07-26 16:37:05 +00:00
apikeys.go satellite/console/.../consoleapi: Standardize serveJSONError 2021-06-29 09:40:07 -04:00
auth_test.go web/satellite, satellite/console: reworked registration email validation 2022-03-16 09:40:53 +00:00
auth.go web/satellite, satellite/console: reworked registration email validation 2022-03-16 09:40:53 +00:00
buckets_test.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
buckets.go satellite/console/.../consoleapi: Standardize serveJSONError 2021-06-29 09:40:07 -04:00
common.go satellite/{console,satellitedb}: Forbid creating users with used email 2021-12-15 17:24:35 +00:00
payments.go satellite/{console,payments},web/satellite: save signup promo code to newly registered users 2022-01-21 15:02:22 +00:00
usagelimits_test.go satellitedb/projectaccounting, web/satellite: reworked bandwidth chart to show both allocated and settled bandwidth 2022-02-08 22:07:59 +00:00
usagelimits.go satellite/projectaccounting, satellite/console, web/satellite: implemented backend for bandwidth chart 2022-01-26 15:09:22 +00:00