storj/satellite/console
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
..
consoleauth all: fix linter complaints 2020-10-13 15:59:01 +03:00
consolewasm satellite/console: add more tests for uplink access permission 2021-06-23 11:58:29 +00:00
consoleweb apigen: endpoint to get all buckets usage by project ID 2022-03-23 15:12:27 +00:00
wasm all: fix linting issues 2022-03-21 15:26:42 +00:00
apikeys_test.go satellite/satellitedb: select user_agent in apikeys method GetPagedByProjectID 2022-01-03 11:58:26 -05:00
apikeys.go satellite/console: support reading apikeys by name and project id 2022-03-14 13:21:21 -05:00
attribution_test.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
auth.go all: fix error naming 2021-04-29 15:38:21 +03:00
billinghistoryitem.go satellite/payments: available coupon value feature 2020-06-02 10:00:45 +00:00
buckets.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
database.go satellite/oidc: move oidc into common package 2022-02-08 09:46:54 -06:00
mfa.go satellite/{console,satellitedb}: Forbid creating users with used email 2021-12-15 17:24:35 +00:00
projectmembers_test.go all: remove old uuid 2020-04-02 19:30:36 +03:00
projectmembers.go all: add missing dots 2020-08-11 17:50:01 +03:00
projects_test.go satellite/{admin,console}: Move tests 2021-10-01 12:25:37 +00:00
projects.go satellite/{console,satellitedb}: increase project limit on paid tier upgrade 2022-03-14 16:10:23 +00:00
projectusagelimits.go satellite/{console,satellitedb}: add project segment limit to user 2021-12-16 08:46:01 +00:00
recaptcha_test.go satellite/console: Forward friendly registration errors to client 2021-07-22 11:31:12 +00:00
recaptcha.go satellite/console: Add reCAPTCHA verification step to registration 2021-07-07 21:34:07 +00:00
registrationtoken.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
request.go audit logging: log important user activity 2020-09-07 15:26:34 +00:00
resetpasswordtoken_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
resetpasswordtoken.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
service_test.go satellite/{console,satellitedb}: increase project limit on paid tier upgrade 2022-03-14 16:10:23 +00:00
service.go apigen: endpoint to get all buckets usage by project ID 2022-03-23 15:12:27 +00:00
sortdirection.go all: fix comments 2020-07-16 19:13:14 +03:00
users_test.go satellite/{console,satellitedb}: increase project limit on paid tier upgrade 2022-03-14 16:10:23 +00:00
users.go satellite/{console,satellitedb}: increase project limit on paid tier upgrade 2022-03-14 16:10:23 +00:00
validation.go satellite/console: Don't lose ErrValiation error class 2022-02-28 11:00:56 +00:00