storj/satellite/console/consoleweb/consoleapi
Ivan Fraixedes 2d8f396eeb private/apigen: Make API base path configurable
Previously the base path for the API was hardcoded to `/api` and the
specified version.

This was not obvious that the generated code was setting that base path
and it was not flexible for serving the API under a different path than
`/api`.

We will likely need to set a different base path if we pretend to serve
the new back office API that we are going to implement alongside the
current admin API until the new back office is fully implemented and
verified that works properly.

This commit also fix add the base path of the endpoints to the
documentation because it was even more confusing for somebody that wants
to use the API having to find out them through looking to the generated
code.

Change-Id: I6efab6b6f3d295129d6f42f7fbba8c2dc19725f4
2023-08-28 14:35:01 +00:00
..
gen private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
utils satellite/nodeevents: validate emails before notifying 2022-12-06 09:59:45 -05:00
abtesting_test.go console/abTesting: add support for AB testing 2022-10-27 10:57:12 +00:00
abtesting.go satellite: add request id to requests 2023-07-13 09:22:43 +00:00
analytics.go satellite: add request id to requests 2023-07-13 09:22:43 +00:00
api.gen.go satellite: add get user paged projects http endpoint 2023-08-08 14:02:53 +00:00
apidocs.gen.md private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
apikeys_test.go satellite/{console, db}: endpoint to get all API key names by project ID 2023-06-13 13:52:30 +00:00
apikeys.go satellite/{consoleweb,consoleapi}: add cross user api tests 2023-08-24 20:16:20 +00:00
auth_test.go all: fix golangci failures 2023-08-09 11:44:44 +03:00
auth.go satellite/console: fix account creation race condition 2023-08-21 16:52:11 +00:00
buckets_test.go satellite/buckets: move Bucket definition 2023-04-13 17:55:40 -04:00
buckets.go satellite/console: create http endpoint for getting bucket usage totals 2023-08-08 21:26:17 +00:00
common.go private/web,satellite/console/.../consoleapi: serve rate limiting errors as JSON 2022-11-23 17:56:07 +00:00
payments_test.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
payments.go satellite/console: trigger invoice payment on card remove 2023-07-20 15:46:50 +00:00
projects_test.go satellite/console: delete project members endpoint 2023-08-11 13:48:33 -04:00
projects.go satellite/{consoleweb,consoleapi}: add cross user api tests 2023-08-24 20:16:20 +00:00
usagelimits_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
usagelimits.go satellite/{consoleweb,consoleapi}: add cross user api tests 2023-08-24 20:16:20 +00:00