storj/satellite/console/consoleweb
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
..
consoleapi apigen: endpoint to get all buckets usage by project ID 2022-03-23 15:12:27 +00:00
consoleql satellite/{console,payments},web/satellite: save signup promo code to newly registered users 2022-01-21 15:02:22 +00:00
consolewebauth satellite/console/consoleweb: add endpoint tests 2021-08-19 12:22:45 +03:00
endpoints_test.go satellite/{satellitedb, web}: display object count in satellite UI 2021-11-01 18:26:13 +00:00
server_test.go satellite/console: Automatically log a user in after verifying email 2021-10-13 13:08:27 +00:00
server.go satellite/oidc: add integration test 2022-03-18 16:14:18 +00:00
utils.go all: fix dots 2020-07-16 14:58:28 +00:00