The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Swap warehouse endpoints to /platform (#27957)
Joshen Lim914901e7798f
diff --git a/apps/studio/data/analytics/warehouse-access-tokens-create-mutation.ts b/apps/studio/data/analytics/warehouse-access-tokens-create-mutation.tsindex 074db39ab90..b74f6ba139b 100644--- a/apps/studio/data/analytics/warehouse-access-tokens-create-mutation.ts+++ b/apps/studio/data/analytics/warehouse-access-tokens-create-mutation.ts@@ -13,7 +13,7 @@ async function createWarehouseAccessToken({description,}: WarehouseAccessTokenCreateVariables) {// TODO: remove type cast when fetcher fn params are typed- const { data, error } = await post(`/v0/projects/{ref}/analytics/warehouse/access-tokens`, {+ const { data, error } = await post(`/platform/projects/{ref}/analytics/warehouse/access-tokens`, {params: {path: { ref },},diff --git a/apps/studio/data/analytics/warehouse-access-tokens-delete-mutation.ts b/apps/studio/data/analytics/warehouse-access-tokens-delete-mutation.tsindex 0b5140cf7c7..2d931a80037 100644--- a/apps/studio/data/analytics/warehouse-access-tokens-delete-mutation.ts+++ b/apps/studio/data/analytics/warehouse-access-tokens-delete-mutation.ts@@ -11,7 +11,7 @@ export type DeleteAccessTokenArgs = {export async function deleteWarehouseAccessToken({ projectRef, token }: DeleteAccessTokenArgs) {const { data, error } = await del(- '/v0/projects/{ref}/analytics/warehouse/access-tokens/{token}',+ '/platform/projects/{ref}/analytics/warehouse/access-tokens/{token}',{params: { path: { ref: projectRef, token } } as any,}diff --git a/apps/studio/data/analytics/warehouse-access-tokens-query.ts b/apps/studio/data/analytics/warehouse-access-tokens-query.tsindex e743299ca6a..282b7b43952 100644--- a/apps/studio/data/analytics/warehouse-access-tokens-query.ts+++ b/apps/studio/data/analytics/warehouse-access-tokens-query.ts@@ -16,7 +16,7 @@ export async function getWarehouseAccessTokens(}// TODO: Remove typecast when codegen types are fixed- const response = await get(`/v0/projects/{ref}/analytics/warehouse/access-tokens`, {+ const response = await get(`/platform/projects/{ref}/analytics/warehouse/access-tokens`, {params: { path: { ref: projectRef } },signal,})diff --git a/apps/studio/data/analytics/warehouse-collections-create-mutation.ts b/apps/studio/data/analytics/warehouse-collections-create-mutation.tsindex ca0ed7153bd..c1cefea73ca 100644--- a/apps/studio/data/analytics/warehouse-collections-create-mutation.ts+++ b/apps/studio/data/analytics/warehouse-collections-create-mutation.ts@@ -10,7 +10,7 @@ export type CreateCollectionArgs = {}export async function createCollection({ projectRef, name }: CreateCollectionArgs) {- const { data, error } = await post('/v0/projects/{ref}/analytics/warehouse/collections', {+ const { data, error } = await post('/platform/projects/{ref}/analytics/warehouse/collections', {params: { path: { ref: projectRef } },body: { name },} as any)diff --git a/apps/studio/data/analytics/warehouse-collections-delete-mutation.ts b/apps/studio/data/analytics/warehouse-collections-delete-mutation.tsindex d631aae159c..1420074960a 100644--- a/apps/studio/data/analytics/warehouse-collections-delete-mutation.ts+++ b/apps/studio/data/analytics/warehouse-collections-delete-mutation.ts@@ -11,9 +11,12 @@ export type DeleteCollectionVariables = {}export async function deleteCollection({ projectRef, collectionToken }: DeleteCollectionVariables) {- const { data, error } = await del('/v0/projects/{ref}/analytics/warehouse/collections/{token}', {- params: { path: { ref: projectRef, token: collectionToken } } as any,- })+ const { data, error } = await del(+ '/platform/projects/{ref}/analytics/warehouse/collections/{token}',+ {+ params: { path: { ref: projectRef, token: collectionToken } } as any,+ }+ )if (error) handleError(error)return datadiff --git a/apps/studio/data/analytics/warehouse-collections-query.ts b/apps/studio/data/analytics/warehouse-collections-query.tsindex 7090ab82db7..75de23c686f 100644--- a/apps/studio/data/analytics/warehouse-collections-query.ts+++ b/apps/studio/data/analytics/warehouse-collections-query.ts@@ -15,7 +15,7 @@ export async function getWarehouseCollections(}// TODO: Remove type cast when codegen types are fixed- const { data, error } = await get(`/v0/projects/{ref}/analytics/warehouse/collections`, {+ const { data, error } = await get(`/platform/projects/{ref}/analytics/warehouse/collections`, {params: { path: { ref: projectRef } },signal,})diff --git a/apps/studio/data/analytics/warehouse-collections-update-mutation.ts b/apps/studio/data/analytics/warehouse-collections-update-mutation.tsindex 702904d792b..8c85f85e162 100644--- a/apps/studio/data/analytics/warehouse-collections-update-mutation.ts+++ b/apps/studio/data/analytics/warehouse-collections-update-mutation.ts@@ -20,7 +20,7 @@ export async function updateCollection(payload: UpdateCollectionPayload) {const { data, error } = await patch(- '/v0/projects/{ref}/analytics/warehouse/collections/{token}',+ '/platform/projects/{ref}/analytics/warehouse/collections/{token}',{params: { path: { ref: projectRef, token: collectionToken } },body: payload,diff --git a/apps/studio/data/analytics/warehouse-query.ts b/apps/studio/data/analytics/warehouse-query.tsindex a827084e14c..54c34a18414 100644--- a/apps/studio/data/analytics/warehouse-query.ts+++ b/apps/studio/data/analytics/warehouse-query.ts@@ -16,7 +16,7 @@ export async function getWarehouseQuery(throw new Error('SQL must be provided')}- const { data, error } = await get(`/v0/projects/{ref}/analytics/warehouse/query`, {+ const { data, error } = await get(`/platform/projects/{ref}/analytics/warehouse/query`, {params: { path: { ref: ref }, query: { bq_sql: sql } },signal,} as any)diff --git a/apps/studio/data/analytics/warehouse-tenant-query.ts b/apps/studio/data/analytics/warehouse-tenant-query.tsindex c83f1cce4b1..19c35c557a1 100644--- a/apps/studio/data/analytics/warehouse-tenant-query.ts+++ b/apps/studio/data/analytics/warehouse-tenant-query.ts@@ -16,7 +16,7 @@ export async function getWarehouseTenant(if (!projectRef) {throw new Error('projectRef is required')}- const { data, error } = await get(`/v0/projects/{ref}/analytics/warehouse/tenant`, {+ const { data, error } = await get(`/platform/projects/{ref}/analytics/warehouse/tenant`, {params: { path: { ref: projectRef } },signal,})diff --git a/packages/api-types/types/api.d.ts b/packages/api-types/types/api.d.tsindex d377ceec4ff..b51495042ed 100644--- a/packages/api-types/types/api.d.ts+++ b/packages/api-types/types/api.d.ts@@ -663,6 +663,50 @@ export interface paths {/** Gets project's usage api requests count */get: operations['UsageApiController_getApiRequestsCount']}+ '/platform/projects/{ref}/analytics/warehouse/access-tokens': {+ /** Lists project's warehouse access tokens from logflare */+ get: operations['v1-list-all-warehouse-tokens']+ /** Create a warehouse access token */+ post: operations['v1-create-a-warehouse-token']+ }+ '/platform/projects/{ref}/analytics/warehouse/access-tokens/{token}': {+ /** Delete a warehouse access token */+ delete: operations['v1-delete-a-warehouse-token']+ }+ '/platform/projects/{ref}/analytics/warehouse/collections': {+ /** Lists project's warehouse collections from logflare */+ get: operations['v1-list-all-warehouse-collections']+ /** Create a warehouse collection */+ post: operations['v1-create-a-warehouse-collection']+ }+ '/platform/projects/{ref}/analytics/warehouse/collections/{token}': {+ /** Get a warehouse collection */+ get: operations['v1-get-a-warehouse-collection']+ /** Delete a warehouse collection */+ delete: operations['v1-delete-a-warehouse-collection']+ /** Update a warehouse collection */+ patch: operations['v1-update-a-warehouse-collection']+ }+ '/platform/projects/{ref}/analytics/warehouse/endpoints': {+ /** Lists project's warehouse endpoints from logflare */+ get: operations['v1-list-all-warehouse-endpoints']+ /** Create a warehouse endpoint */+ post: operations['v1-create-a-warehouse-endpoint']+ }+ '/platform/projects/{ref}/analytics/warehouse/endpoints/{token}': {+ /** Update a warehouse endpoint */+ put: operations['v1-update-a-warehouse-endpoint']+ /** Delete a warehouse endpoint */+ delete: operations['v1-delete-a-warehouse-endpoint']+ }+ '/platform/projects/{ref}/analytics/warehouse/query': {+ /** Lists project's warehouse queries from logflare */+ get: operations['v1-list-all-warehouse-queries']+ }+ '/platform/projects/{ref}/analytics/warehouse/tenant': {+ /** Gets project's warehouse tenant from logflare */+ get: operations['v1-provision-a-warehouse-tenant']+ }'/platform/projects/{ref}/api/graphql': {/** Queries project Graphql */post: operations['ProjectsApiController_projectGraphql']@@ -10692,62 +10736,63 @@ export interface operations {}}}- /** Queries project Graphql */- ProjectsApiController_projectGraphql: {+ /** Lists project's warehouse access tokens from logflare */+ 'v1-list-all-warehouse-tokens': {parameters: {- header: {- 'x-graphql-authorization': string- }path: {/** @description Project ref */ref: string}}- requestBody: {- content: {- 'application/json': components['schemas']['Buffer']+ responses: {+ 200: {+ content: {+ 'application/json': components['schemas']['LFAccessToken'][]+ }+ }+ 403: {+ content: never+ }+ /** @description Failed to fetch warehouse access tokens */+ 500: {+ content: never}}+ }+ /** Create a warehouse access token */+ 'v1-create-a-warehouse-token': {responses: {201: {content: {- 'application/json': Record<string, never>+ 'application/json': components['schemas']['LFAccessToken']}}403: {content: never}- /** @description Failed to query project Graphql */+ /** @description Failed to create warehouse access token */500: {content: never}}}- /** Gets project OpenApi */- ProjectsApiController_projectOpenApi: {- parameters: {- path: {- /** @description Project ref */- ref: string- }- }+ /** Delete a warehouse access token */+ 'v1-delete-a-warehouse-token': {responses: {200: {- content: {- 'application/json': Record<string, never>- }+ content: never}403: {content: never}- /** @description Failed to get project OpenApi */+ /** @description Failed to delete warehouse access token */500: {content: never}}}- /** Gets project addons */- ProjectAddonController_getProjectAddons: {+ /** Lists project's warehouse collections from logflare */+ 'v1-list-all-warehouse-collections': {parameters: {path: {/** @description Project ref */@@ -10757,116 +10802,88 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['ProjectAddonsResponse']+ 'application/json': components['schemas']['LFSource'][]}}403: {content: never}- /** @description Failed to get project addons */+ /** @description Failed to fetch warehouse collections */500: {content: never}}}- /** Updates project addon */- ProjectAddonController_updateAddon: {- parameters: {- path: {- /** @description Project ref */- ref: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['UpdateAddonBody']- }- }+ /** Create a warehouse collection */+ 'v1-create-a-warehouse-collection': {responses: {201: {- content: never+ content: {+ 'application/json': components['schemas']['LFSource']+ }}403: {content: never}- /** @description Failed to update project addon */+ /** @description Failed to create warehouse collection */500: {content: never}}}- /** Removes project addon */- ProjectAddonController_removeAddon: {- parameters: {- path: {- /** @description Project ref */- ref: string- addon_variant: components['schemas']['AddonVariantId']- }- }+ /** Get a warehouse collection */+ 'v1-get-a-warehouse-collection': {responses: {200: {- content: never+ content: {+ 'application/json': components['schemas']['LFSource']+ }}403: {content: never}- /** @description Failed to remove project addon */+ /** @description Failed to fetch warehouse collection */500: {content: never}}}- /** Gets project's pgbouncer config */- PgbouncerConfigController_getPgbouncerConfig: {- parameters: {- path: {- /** @description Project ref */- ref: string- }- }+ /** Delete a warehouse collection */+ 'v1-delete-a-warehouse-collection': {responses: {200: {content: {- 'application/json': components['schemas']['PgbouncerConfigResponse']+ 'application/json': components['schemas']['LFSource']}}- /** @description Failed to retrieve project's pgbouncer config */+ 403: {+ content: never+ }+ /** @description Failed to delete warehouse collection */500: {content: never}}}- /** Updates project's pgbouncer config */- PgbouncerConfigController_updatePgbouncerConfig: {- parameters: {- path: {- /** @description Project ref */- ref: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['UpdatePgbouncerConfigBody']- }- }+ /** Update a warehouse collection */+ 'v1-update-a-warehouse-collection': {responses: {200: {content: {- 'application/json': components['schemas']['UpdatePoolingConfigResponse']+ 'application/json': components['schemas']['LFSource']}}403: {content: never}- /** @description Failed to update project's pgbouncer config */+ /** @description Failed to update warehouse collection */500: {content: never}}}- /** Gets project's pgbouncer status */- PgbouncerConfigController_getPgbouncerStatus: {+ /** Lists project's warehouse endpoints from logflare */+ 'v1-list-all-warehouse-endpoints': {parameters: {path: {/** @description Project ref */@@ -10876,62 +10893,69 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['PgbouncerStatusResponse']+ 'application/json': components['schemas']['LFEndpoint'][]}}- /** @description Failed to retrieve project's pgbouncer status */+ 403: {+ content: never+ }+ /** @description Failed to fetch warehouse endpoints */500: {content: never}}}- /** Gets project's Postgres config */- 'v1-get-postgres-config': {- parameters: {- path: {- /** @description Project ref */- ref: string- }- }+ /** Create a warehouse endpoint */+ 'v1-create-a-warehouse-endpoint': {responses: {- 200: {+ 201: {content: {- 'application/json': components['schemas']['PostgresConfigResponse']+ 'application/json': components['schemas']['LFEndpoint']}}- /** @description Failed to retrieve project's Postgres config */+ 403: {+ content: never+ }+ /** @description Failed to create warehouse endpoint */500: {content: never}}}- /** Updates project's Postgres config */- 'v1-update-postgres-config': {- parameters: {- path: {- /** @description Project ref */- ref: string+ /** Update a warehouse endpoint */+ 'v1-update-a-warehouse-endpoint': {+ responses: {+ 200: {+ content: {+ 'application/json': components['schemas']['LFEndpoint']+ }}- }- requestBody: {- content: {- 'application/json': components['schemas']['UpdatePostgresConfigBody']+ 403: {+ content: never+ }+ /** @description Failed to update warehouse endpoint */+ 500: {+ content: never}}+ }+ /** Delete a warehouse endpoint */+ 'v1-delete-a-warehouse-endpoint': {responses: {200: {- content: {- 'application/json': components['schemas']['PostgresConfigResponse']- }+ content: never}- /** @description Failed to update project's Postgres config */+ 403: {+ content: never+ }+ /** @description Failed to delete warehouse endpoint */500: {content: never}}}- /** Gets project's postgrest config */- PostgrestConfigController_getPostgRESTConfig: {+ /** Lists project's warehouse queries from logflare */+ 'v1-list-all-warehouse-queries': {parameters: {path: {/** @description Project ref */@@ -10940,74 +10964,73 @@ export interface operations {}responses: {200: {- content: {- 'application/json': components['schemas']['PostgrestConfigResponse']- }+ content: never}403: {content: never}- /** @description Failed to retrieve project's postgrest config */+ /** @description Failed to fetch warehouse queries */500: {content: never}}}- /** Updates project's postgrest config */- PostgrestConfigController_updatePostgRESTConfig: {+ /** Gets project's warehouse tenant from logflare */+ 'v1-provision-a-warehouse-tenant': {parameters: {path: {/** @description Project ref */ref: string}}- requestBody: {- content: {- 'application/json': components['schemas']['UpdatePostgrestConfigBody']- }- }responses: {200: {content: {- 'application/json': components['schemas']['V1PostgrestConfigResponse']+ 'application/json': components['schemas']['LFUser']}}403: {content: never}- /** @description Failed to update project's postgrest config */+ /** @description Failed to fetch or provision warehouse tenant */500: {content: never}}}- /** Updates project's secrets config */- SecretsConfigController_updateConfig: {+ /** Queries project Graphql */+ ProjectsApiController_projectGraphql: {parameters: {- path: {+ header: {+ 'x-graphql-authorization': string+ }+ path: {/** @description Project ref */ref: string}}requestBody: {content: {- 'application/json': components['schemas']['UpdateSecretsConfigBody']+ 'application/json': components['schemas']['Buffer']}}responses: {- 200: {+ 201: {content: {- 'application/json': components['schemas']['UpdateSecretsResponse']+ 'application/json': Record<string, never>}}- /** @description Failed to update project's secrets config */+ 403: {+ content: never+ }+ /** @description Failed to query project Graphql */500: {content: never}}}- /** Gets project's storage config */- StorageConfigController_getConfig: {+ /** Gets project OpenApi */+ ProjectsApiController_projectOpenApi: {parameters: {path: {/** @description Project ref */@@ -11017,99 +11040,91 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['StorageConfigResponse']+ 'application/json': Record<string, never>}}403: {content: never}- /** @description Failed to retrieve project's storage config */+ /** @description Failed to get project OpenApi */500: {content: never}}}- /** Updates project's storage config */- StorageConfigController_updateConfig: {+ /** Gets project addons */+ ProjectAddonController_getProjectAddons: {parameters: {path: {/** @description Project ref */ref: string}}- requestBody: {- content: {- 'application/json': components['schemas']['UpdateStorageConfigBody']- }- }responses: {200: {content: {- 'application/json': components['schemas']['UpdateStorageConfigResponse']+ 'application/json': components['schemas']['ProjectAddonsResponse']}}403: {content: never}- /** @description Failed to update project's storage config */+ /** @description Failed to get project addons */500: {content: never}}}- /** Gets project's supavisor config */- 'v1-get-supavisor-config': {+ /** Updates project addon */+ ProjectAddonController_updateAddon: {parameters: {path: {/** @description Project ref */ref: string}}+ requestBody: {+ content: {+ 'application/json': components['schemas']['UpdateAddonBody']+ }+ }responses: {- 200: {- content: {- 'application/json': components['schemas']['SupavisorConfigResponse'][]- }+ 201: {+ content: never}- /** @description Failed to retrieve project's supavisor config */+ 403: {+ content: never+ }+ /** @description Failed to update project addon */500: {content: never}}}- /** Updates project's supavisor config */- 'v1-update-supavisor-config': {+ /** Removes project addon */+ ProjectAddonController_removeAddon: {parameters: {path: {/** @description Project ref */ref: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['UpdateSupavisorConfigBody']+ addon_variant: components['schemas']['AddonVariantId']}}responses: {200: {- content: {- 'application/json': components['schemas']['UpdateSupavisorConfigResponse']- }+ content: never}403: {content: never}- /** @description Failed to update project's supavisor config */+ /** @description Failed to remove project addon */500: {content: never}}}- /**- * Gets project's content- * @deprecated- */- ContentController_getContent: {+ /** Gets project's pgbouncer config */+ PgbouncerConfigController_getPgbouncerConfig: {parameters: {path: {/** @description Project ref */@@ -11119,17 +11134,17 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['GetUserContentResponse']+ 'application/json': components['schemas']['PgbouncerConfigResponse']}}- /** @description Failed to retrieve project's content */+ /** @description Failed to retrieve project's pgbouncer config */500: {content: never}}}- /** Updates project's content */- ContentController_updateWholeContentV2: {+ /** Updates project's pgbouncer config */+ PgbouncerConfigController_updatePgbouncerConfig: {parameters: {path: {/** @description Project ref */@@ -11138,50 +11153,47 @@ export interface operations {}requestBody: {content: {- 'application/json': components['schemas']['UpsertContentBodyV2']+ 'application/json': components['schemas']['UpdatePgbouncerConfigBody']}}responses: {200: {+ content: {+ 'application/json': components['schemas']['UpdatePoolingConfigResponse']+ }+ }+ 403: {content: never}- /** @description Failed to update project's content */+ /** @description Failed to update project's pgbouncer config */500: {content: never}}}- /** Creates project's content */- ContentController_createContentV2: {+ /** Gets project's pgbouncer status */+ PgbouncerConfigController_getPgbouncerStatus: {parameters: {path: {/** @description Project ref */ref: string}}- requestBody: {- content: {- 'application/json': components['schemas']['CreateContentBodyV2']- }- }responses: {- 201: {+ 200: {content: {- 'application/json': components['schemas']['UserContentObjectV2']+ 'application/json': components['schemas']['PgbouncerStatusResponse']}}- /** @description Failed to create project's content */+ /** @description Failed to retrieve project's pgbouncer status */500: {content: never}}}- /** Deletes project's contents */- ContentController_deleteContents: {+ /** Gets project's Postgres config */+ 'v1-get-postgres-config': {parameters: {- query: {- ids: string[]- }path: {/** @description Project ref */ref: string@@ -11190,48 +11202,43 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['BulkDeleteUserContentResponse'][]+ 'application/json': components['schemas']['PostgresConfigResponse']}}- /** @description Failed to delete project's contents */+ /** @description Failed to retrieve project's Postgres config */500: {content: never}}}- /**- * Updates project's content- * @deprecated- */- ContentController_updateContent: {+ /** Updates project's Postgres config */+ 'v1-update-postgres-config': {parameters: {- query: {- id: string+ path: {+ /** @description Project ref */+ ref: string}}requestBody: {content: {- 'application/json': components['schemas']['UpdateContentBody']+ 'application/json': components['schemas']['UpdatePostgresConfigBody']}}responses: {200: {content: {- 'application/json': components['schemas']['UserContentObject'][]+ 'application/json': components['schemas']['PostgresConfigResponse']}}- /** @description Failed to update project's content */+ /** @description Failed to update project's Postgres config */500: {content: never}}}- /** Gets project's content root folder */- ContentFoldersController_getRootFolder: {+ /** Gets project's postgrest config */+ PostgrestConfigController_getPostgRESTConfig: {parameters: {- query?: {- type?: 'sql' | 'report' | 'log_sql'- }path: {/** @description Project ref */ref: string@@ -11240,17 +11247,20 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['GetUserContentFolderResponse']+ 'application/json': components['schemas']['PostgrestConfigResponse']}}- /** @description Failed to retrieve project's content root folder */+ 403: {+ content: never+ }+ /** @description Failed to retrieve project's postgrest config */500: {content: never}}}- /** Creates project's content folder */- ContentFoldersController_createFolder: {+ /** Updates project's postgrest config */+ PostgrestConfigController_updatePostgRESTConfig: {parameters: {path: {/** @description Project ref */@@ -11259,135 +11269,153 @@ export interface operations {}requestBody: {content: {- 'application/json': components['schemas']['CreateContentFolderBody']+ 'application/json': components['schemas']['UpdatePostgrestConfigBody']}}responses: {- 201: {+ 200: {content: {- 'application/json': components['schemas']['CreateUserContentFolderResponse']+ 'application/json': components['schemas']['V1PostgrestConfigResponse']}}- /** @description Failed to create project's content folder */+ 403: {+ content: never+ }+ /** @description Failed to update project's postgrest config */500: {content: never}}}- /** Deletes project's content folders */- ContentFoldersController_DeleteFolder: {+ /** Updates project's secrets config */+ SecretsConfigController_updateConfig: {parameters: {- query: {- ids: string[]+ path: {+ /** @description Project ref */+ ref: string+ }+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['UpdateSecretsConfigBody']}}responses: {200: {- content: never+ content: {+ 'application/json': components['schemas']['UpdateSecretsResponse']+ }}- /** @description Failed to delete project's content folders */+ /** @description Failed to update project's secrets config */500: {content: never}}}- /** Gets project's content folder */- ContentFoldersController_getFolder: {+ /** Gets project's storage config */+ StorageConfigController_getConfig: {parameters: {path: {/** @description Project ref */ref: string- /** @description Content folder id */- id: string}}responses: {200: {content: {- 'application/json': components['schemas']['GetUserContentFolderResponse']+ 'application/json': components['schemas']['StorageConfigResponse']}}- /** @description Failed to retrieve project's content folder */+ 403: {+ content: never+ }+ /** @description Failed to retrieve project's storage config */500: {content: never}}}- /** Updates project's content folder */- ContentFoldersController_updateFolder: {+ /** Updates project's storage config */+ StorageConfigController_updateConfig: {parameters: {path: {/** @description Project ref */ref: string- /** @description Content folder id */- id: string}}requestBody: {content: {- 'application/json': components['schemas']['UpdateContentFolderBody']+ 'application/json': components['schemas']['UpdateStorageConfigBody']}}responses: {200: {+ content: {+ 'application/json': components['schemas']['UpdateStorageConfigResponse']+ }+ }+ 403: {content: never}- /** @description Failed to update project's content folder */+ /** @description Failed to update project's storage config */500: {content: never}}}- /** Gets project's content by the given id */- ContentController_getContentById: {+ /** Gets project's supavisor config */+ 'v1-get-supavisor-config': {parameters: {path: {/** @description Project ref */ref: string- /** @description Content id */- id: string}}responses: {200: {content: {- 'application/json': components['schemas']['GetUserContentByIdResponse']+ 'application/json': components['schemas']['SupavisorConfigResponse'][]}}- /** @description Failed to retrieve project's content by the given id */+ /** @description Failed to retrieve project's supavisor config */500: {content: never}}}- /** Gets daily project stats */- DailyStatsController_getDailyStats: {+ /** Updates project's supavisor config */+ 'v1-update-supavisor-config': {parameters: {- query: {- attribute: string- interval: string- endDate: string- startDate: string- }path: {/** @description Project ref */ref: string}}+ requestBody: {+ content: {+ 'application/json': components['schemas']['UpdateSupavisorConfigBody']+ }+ }responses: {200: {content: {- 'application/json': Record<string, never>+ 'application/json': components['schemas']['UpdateSupavisorConfigResponse']}}- /** @description Failed to get daily project stats */+ 403: {+ content: never+ }+ /** @description Failed to update project's supavisor config */500: {content: never}}}- /** Gets non-removed databases of a specified project */- DatabasesController_getDatabases: {+ /**+ * Gets project's content+ * @deprecated+ */+ ContentController_getContent: {parameters: {path: {/** @description Project ref */@@ -11397,33 +11425,40 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['DatabaseDetailResponse'][]+ 'application/json': components['schemas']['GetUserContentResponse']}}+ /** @description Failed to retrieve project's content */+ 500: {+ content: never+ }}}- /** Gets statuses of databases within a project */- DatabasesStatusesController_getStatus: {+ /** Updates project's content */+ ContentController_updateWholeContentV2: {parameters: {path: {/** @description Project ref */ref: string}}+ requestBody: {+ content: {+ 'application/json': components['schemas']['UpsertContentBodyV2']+ }+ }responses: {200: {- content: {- 'application/json': components['schemas']['DatabaseStatusResponse'][]- }+ content: never}- /** @description Failed to get statuses of databases of a project */+ /** @description Failed to update project's content */500: {content: never}}}- /** Updates the database password */- DbPasswordController_updatePassword: {+ /** Creates project's content */+ ContentController_createContentV2: {parameters: {path: {/** @description Project ref */@@ -11432,39 +11467,26 @@ export interface operations {}requestBody: {content: {- 'application/json': components['schemas']['UpdatePasswordBody']+ 'application/json': components['schemas']['CreateContentBodyV2']}}responses: {- 200: {- content: never- }- 403: {- content: never+ 201: {+ content: {+ 'application/json': components['schemas']['UserContentObjectV2']+ }}- /** @description Failed to update database password */+ /** @description Failed to create project's content */500: {content: never}}}- /** Gets project's usage metrics */- InfraMonitoringController_getUsageMetrics: {+ /** Deletes project's contents */+ ContentController_deleteContents: {parameters: {query: {- attribute:- | 'cpu_usage'- | 'max_cpu_usage'- | 'avg_cpu_usage'- | 'disk_io_budget'- | 'disk_io_consumption'- | 'ram_usage'- | 'swap_usage'- | 'physical_replication_lag_physical_replica_lag_seconds'- startDate: string- endDate: string- interval?: '1m' | '5m' | '10m' | '30m' | '1h' | '1d'- databaseIdentifier?: string+ ids: string[]}path: {/** @description Project ref */@@ -11474,39 +11496,48 @@ export interface operations {responses: {200: {content: {- 'application/json': Record<string, never>+ 'application/json': components['schemas']['BulkDeleteUserContentResponse'][]}}- /** @description Failed to get project's usage metrics */+ /** @description Failed to delete project's contents */500: {content: never}}}- /** Gets project health check */- HealthCheckController_projectHealthCheck: {+ /**+ * Updates project's content+ * @deprecated+ */+ ContentController_updateContent: {parameters: {- path: {- /** @description Project ref */- ref: string+ query: {+ id: string+ }+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['UpdateContentBody']}}responses: {200: {- content: never- }- 403: {- content: never+ content: {+ 'application/json': components['schemas']['UserContentObject'][]+ }}- /** @description Failed to get project health check */+ /** @description Failed to update project's content */500: {content: never}}}- /** Gets non-removed databases of a specified project */- LoadBalancersController_getLoadBalancers: {+ /** Gets project's content root folder */+ ContentFoldersController_getRootFolder: {parameters: {+ query?: {+ type?: 'sql' | 'report' | 'log_sql'+ }path: {/** @description Project ref */ref: string@@ -11515,140 +11546,135 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['LoadBalancerDetailResponse'][]+ 'application/json': components['schemas']['GetUserContentFolderResponse']}}- }- }- /** Pauses the project */- PauseController_pauseProject: {- parameters: {- path: {- /** @description Project ref */- ref: string- }- }- responses: {- 201: {- content: never- }- /** @description Failed to pause the project */+ /** @description Failed to retrieve project's content root folder */500: {content: never}}}- /** Gets the latest pause event for a project if a project is paused */- PauseController_getProject: {+ /** Creates project's content folder */+ ContentFoldersController_createFolder: {parameters: {path: {/** @description Project ref */ref: string}}+ requestBody: {+ content: {+ 'application/json': components['schemas']['CreateContentFolderBody']+ }+ }responses: {- 200: {+ 201: {content: {- 'application/json': components['schemas']['PauseStatusResponse']+ 'application/json': components['schemas']['CreateUserContentFolderResponse']}}+ /** @description Failed to create project's content folder */+ 500: {+ content: never+ }}}- /** Resize database disk */- ResizeController_resizeDatabase: {+ /** Deletes project's content folders */+ ContentFoldersController_DeleteFolder: {parameters: {- path: {- /** @description Project ref */- ref: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['ResizeBody']+ query: {+ ids: string[]}}responses: {- 201: {+ 200: {content: never}- /** @description Failed to resize database disk */+ /** @description Failed to delete project's content folders */500: {content: never}}}- /** Restarts project */- RestartController_restartProject: {+ /** Gets project's content folder */+ ContentFoldersController_getFolder: {parameters: {path: {/** @description Project ref */ref: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['RestartProjectInfo']+ /** @description Content folder id */+ id: string}}responses: {- 201: {- content: never- }- 403: {- content: never+ 200: {+ content: {+ 'application/json': components['schemas']['GetUserContentFolderResponse']+ }}- /** @description Failed to restart project */+ /** @description Failed to retrieve project's content folder */500: {content: never}}}- /** Restarts given services */- RestartServicesController_restartServices: {+ /** Updates project's content folder */+ ContentFoldersController_updateFolder: {parameters: {path: {/** @description Project ref */ref: string+ /** @description Content folder id */+ id: string}}requestBody: {content: {- 'application/json': components['schemas']['RestartServicesBody']+ 'application/json': components['schemas']['UpdateContentFolderBody']}}responses: {- 201: {+ 200: {content: never}- /** @description Failed to restart given services */+ /** @description Failed to update project's content folder */500: {content: never}}}- /** Cancels a failed restoration */- RestoreController_cancelProjectRestoration: {+ /** Gets project's content by the given id */+ ContentController_getContentById: {parameters: {path: {/** @description Project ref */ref: string+ /** @description Content id */+ id: string}}responses: {- 201: {+ 200: {content: {- 'application/json': components['schemas']['RestoreCancellation']+ 'application/json': components['schemas']['GetUserContentByIdResponse']}}- /** @description Failed to cancel project restoration */+ /** @description Failed to retrieve project's content by the given id */500: {content: never}}}- /** Run project lints */- ProjectRunLintsController_runProjectLints: {+ /** Gets daily project stats */+ DailyStatsController_getDailyStats: {parameters: {+ query: {+ attribute: string+ interval: string+ endDate: string+ startDate: string+ }path: {/** @description Project ref */ref: string@@ -11657,16 +11683,17 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['ProjectLintResponse'][]+ 'application/json': Record<string, never>}}- 403: {+ /** @description Failed to get daily project stats */+ 500: {content: never}}}- /** Gets project's settings */- SettingsController_getProjectApi: {+ /** Gets non-removed databases of a specified project */+ DatabasesController_getDatabases: {parameters: {path: {/** @description Project ref */@@ -11676,17 +11703,13 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['ProjectSettingsResponse']+ 'application/json': components['schemas']['DatabaseDetailResponse'][]}}- /** @description Failed to retrieve project's settings */- 500: {- content: never- }}}- /** Gets project's status */- ProjectStatusController_getStatus: {+ /** Gets statuses of databases within a project */+ DatabasesStatusesController_getStatus: {parameters: {path: {/** @description Project ref */@@ -11695,16 +11718,18 @@ export interface operations {}responses: {200: {- content: never+ content: {+ 'application/json': components['schemas']['DatabaseStatusResponse'][]+ }}- /** @description Failed to get project's status */+ /** @description Failed to get statuses of databases of a project */500: {content: never}}}- /** Transfers a project to a different organization. */- ProjectTransferController_transferProject: {+ /** Updates the database password */+ DbPasswordController_updatePassword: {parameters: {path: {/** @description Project ref */@@ -11713,92 +11738,96 @@ export interface operations {}requestBody: {content: {- 'application/json': components['schemas']['TransferProjectBody']+ 'application/json': components['schemas']['UpdatePasswordBody']}}responses: {- 201: {+ 200: {content: never}403: {content: never}+ /** @description Failed to update database password */+ 500: {+ content: never+ }}}- /** Previews transfering a project to a different organizations, shows eligibility and impact. */- ProjectTransferController_previewTransfer: {+ /** Gets project's usage metrics */+ InfraMonitoringController_getUsageMetrics: {parameters: {- path: {- /** @description Project ref */- ref: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['TransferProjectBody']- }- }- responses: {- 201: {- content: {- 'application/json': components['schemas']['PreviewProjectTransferResponse']+ query: {+ attribute:+ | 'cpu_usage'+ | 'max_cpu_usage'+ | 'avg_cpu_usage'+ | 'disk_io_budget'+ | 'disk_io_consumption'+ | 'ram_usage'+ | 'swap_usage'+ | 'physical_replication_lag_physical_replica_lag_seconds'+ startDate: string+ endDate: string+ interval?: '1m' | '5m' | '10m' | '30m' | '1h' | '1d'+ databaseIdentifier?: string+ }+ path: {+ /** @description Project ref */+ ref: string+ }+ }+ responses: {+ 200: {+ content: {+ 'application/json': Record<string, never>}}- 403: {+ /** @description Failed to get project's usage metrics */+ 500: {content: never}}}- /**- * Updates the project- * @deprecated- * @description Replaced by PATCH /platform/projects/:ref- */- UpdateController_updateProject: {+ /** Gets project health check */+ HealthCheckController_projectHealthCheck: {parameters: {path: {/** @description Project ref */ref: string}}- requestBody: {- content: {- 'application/json': components['schemas']['UpdateProjectBody']- }- }responses: {- 201: {+ 200: {content: never}403: {content: never}- /** @description Failed to update project */+ /** @description Failed to get project health check */500: {content: never}}}- /** Gets project linked to fly extension id */- ProjectsController_getProjectByFlyExtensionId: {+ /** Gets non-removed databases of a specified project */+ LoadBalancersController_getLoadBalancers: {parameters: {path: {- fly_extension_id: string+ /** @description Project ref */+ ref: string}}responses: {200: {content: {- 'application/json': components['schemas']['GetProjectByFlyExtensionIdResponse']+ 'application/json': components['schemas']['LoadBalancerDetailResponse'][]}}}}- /**- * Gets project's api info- * @deprecated- */- ApiController_getProjectApi: {+ /** Pauses the project */+ PauseController_pauseProject: {parameters: {path: {/** @description Project ref */@@ -11806,19 +11835,17 @@ export interface operations {}}responses: {- 200: {- content: {- 'application/json': components['schemas']['ApiResponse']- }+ 201: {+ content: never}- /** @description Failed to retrieve project's api info */+ /** @description Failed to pause the project */500: {content: never}}}- /** Gets the last JWT secret update status */- JwtSecretUpdateStatusController_getJwtSecretUpdateStatus: {+ /** Gets the latest pause event for a project if a project is paused */+ PauseController_getProject: {parameters: {path: {/** @description Project ref */@@ -11828,211 +11855,171 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['JwtSecretUpdateStatus']+ 'application/json': components['schemas']['PauseStatusResponse']}}- /** @description Failed to retrieve JWT secret update status */- 500: {- content: never- }}}- /**- * Gets project's settings- * @deprecated- */- PropsSettingsController_getProjectApi: {+ /** Resize database disk */+ ResizeController_resizeDatabase: {parameters: {path: {/** @description Project ref */ref: string}}- responses: {- 200: {- content: {- 'application/json': components['schemas']['SettingsResponse']- }- }- /** @description Failed to retrieve project's settings */- 500: {- content: never- }- }- }- /** Reset password for email */- ResetPasswordController_resetPassword: {requestBody: {content: {- 'application/json': components['schemas']['ResetPasswordBody']+ 'application/json': components['schemas']['ResizeBody']}}responses: {201: {content: never}+ /** @description Failed to resize database disk */+ 500: {+ content: never+ }}}- /** Sign up with email and password */- SignUpController_signUp: {+ /** Restarts project */+ RestartController_restartProject: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ }+ }requestBody: {content: {- 'application/json': components['schemas']['SignUpBody']+ 'application/json': components['schemas']['RestartProjectInfo']}}responses: {201: {content: never}- }- }- /** Get infrastructure status */- StatusController_getStatus: {- responses: {- 200: {+ 403: {content: never}- /** @description Failed to retrieve infrastructure status */+ /** @description Failed to restart project */500: {content: never}}}- /** Gets list of buckets */- StorageBucketsController_getBuckets: {+ /** Restarts given services */+ RestartServicesController_restartServices: {parameters: {path: {/** @description Project ref */ref: string}}- responses: {- 200: {- content: {- 'application/json': components['schemas']['StorageBucket'][]- }+ requestBody: {+ content: {+ 'application/json': components['schemas']['RestartServicesBody']}- 403: {+ }+ responses: {+ 201: {content: never}- /** @description Failed to get list of buckets */+ /** @description Failed to restart given services */500: {content: never}}}- /** Create bucket */- StorageBucketsController_createBucket: {+ /** Cancels a failed restoration */+ RestoreController_cancelProjectRestoration: {parameters: {path: {/** @description Project ref */ref: string}}- requestBody: {- content: {- 'application/json': components['schemas']['CreateStorageBucketBody']- }- }responses: {201: {content: {- 'application/json': string+ 'application/json': components['schemas']['RestoreCancellation']}}- 403: {- content: never- }- /** @description Failed to create bucket */+ /** @description Failed to cancel project restoration */500: {content: never}}}- /** Gets bucket */- StorageBucketIdController_getBucket: {+ /** Run project lints */+ ProjectRunLintsController_runProjectLints: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string}}responses: {200: {content: {- 'application/json': components['schemas']['StorageBucket']+ 'application/json': components['schemas']['ProjectLintResponse'][]}}403: {content: never}- /** @description Failed to get bucket */- 500: {- content: never- }}}- /** Deletes bucket */- StorageBucketIdController_deleteBucket: {+ /** Gets project's settings */+ SettingsController_getProjectApi: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string}}responses: {200: {- content: never- }- 403: {- content: never+ content: {+ 'application/json': components['schemas']['ProjectSettingsResponse']+ }}- /** @description Failed to delete bucket */+ /** @description Failed to retrieve project's settings */500: {content: never}}}- /** Updates bucket */- StorageBucketIdController_updateBucket: {+ /** Gets project's status */+ ProjectStatusController_getStatus: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['UpdateStorageBucketBody']}}responses: {200: {content: never}- 403: {- content: never- }- /** @description Failed to update bucket */+ /** @description Failed to get project's status */500: {content: never}}}- /** Removes all objects inside a single bucket. */- StorageBucketIdController_emptyBucket: {+ /** Transfers a project to a different organization. */+ ProjectTransferController_transferProject: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string+ }+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['TransferProjectBody']}}responses: {@@ -12042,218 +12029,234 @@ export interface operations {403: {content: never}- /** @description Failed to empty bucket */- 500: {- content: never- }}}- /** Deletes objects */- StorageObjectsController_deleteObjects: {+ /** Previews transfering a project to a different organizations, shows eligibility and impact. */+ ProjectTransferController_previewTransfer: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string}}requestBody: {content: {- 'application/json': components['schemas']['DeleteObjectsBody']+ 'application/json': components['schemas']['TransferProjectBody']}}responses: {- 200: {- content: never+ 201: {+ content: {+ 'application/json': components['schemas']['PreviewProjectTransferResponse']+ }}403: {content: never}- /** @description Failed to delete objects */- 500: {- content: never- }}}- /** Copys object */- StorageObjectsController_copyObject: {+ /**+ * Updates the project+ * @deprecated+ * @description Replaced by PATCH /platform/projects/:ref+ */+ UpdateController_updateProject: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string}}requestBody: {content: {- 'application/json': components['schemas']['CopyObjectBody']+ 'application/json': components['schemas']['UpdateProjectBody']}}responses: {201: {- content: {- 'application/json': components['schemas']['CopyObjectResponse']- }+ content: never}403: {content: never}- /** @description Failed to copy object */+ /** @description Failed to update project */500: {content: never}}}- /** Downloads a file from a private bucket */- StorageObjectsController_download: {+ /** Gets project linked to fly extension id */+ ProjectsController_getProjectByFlyExtensionId: {parameters: {path: {- /** @description Project ref */- ref: string- /** @description Storage bucket id */- id: string+ fly_extension_id: string}}- requestBody: {- content: {- 'application/json': components['schemas']['DownloadObjectBody']+ responses: {+ 200: {+ content: {+ 'application/json': components['schemas']['GetProjectByFlyExtensionIdResponse']+ }}}- responses: {- 201: {- content: never+ }+ /**+ * Gets project's api info+ * @deprecated+ */+ ApiController_getProjectApi: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string}- 403: {- content: never+ }+ responses: {+ 200: {+ content: {+ 'application/json': components['schemas']['ApiResponse']+ }}- /** @description Failed to download the file */+ /** @description Failed to retrieve project's api info */500: {content: never}}}- /** Gets list of objects with the given bucket */- StorageObjectsController_getObjects: {+ /** Gets the last JWT secret update status */+ JwtSecretUpdateStatusController_getJwtSecretUpdateStatus: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['GetObjectsBody']}}responses: {- 201: {+ 200: {content: {- 'application/json': components['schemas']['StorageObject'][]+ 'application/json': components['schemas']['JwtSecretUpdateStatus']}}- 403: {- content: never- }- /** @description Failed to get list of objects with the given bucket */+ /** @description Failed to retrieve JWT secret update status */500: {content: never}}}- /** Move object */- StorageObjectsController_moveObject: {+ /**+ * Gets project's settings+ * @deprecated+ */+ PropsSettingsController_getProjectApi: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string}}+ responses: {+ 200: {+ content: {+ 'application/json': components['schemas']['SettingsResponse']+ }+ }+ /** @description Failed to retrieve project's settings */+ 500: {+ content: never+ }+ }+ }+ /** Reset password for email */+ ResetPasswordController_resetPassword: {requestBody: {content: {- 'application/json': components['schemas']['MoveObjectBody']+ 'application/json': components['schemas']['ResetPasswordBody']}}responses: {201: {content: never}- 403: {+ }+ }+ /** Sign up with email and password */+ SignUpController_signUp: {+ requestBody: {+ content: {+ 'application/json': components['schemas']['SignUpBody']+ }+ }+ responses: {+ 201: {content: never}- /** @description Failed to move object */+ }+ }+ /** Get infrastructure status */+ StatusController_getStatus: {+ responses: {+ 200: {+ content: never+ }+ /** @description Failed to retrieve infrastructure status */500: {content: never}}}- /** Creates URL for an asset in a public bucket */- StorageObjectsController_createPublicUrl: {+ /** Gets list of buckets */+ StorageBucketsController_getBuckets: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['GetPublicUrlBody']}}responses: {- 201: {+ 200: {content: {- 'application/json': components['schemas']['PublicUrlResponse']+ 'application/json': components['schemas']['StorageBucket'][]}}403: {content: never}- /** @description Failed to create public URL */+ /** @description Failed to get list of buckets */500: {content: never}}}- /** Creates a signed URL */- StorageObjectsController_createSignedUrl: {+ /** Create bucket */+ StorageBucketsController_createBucket: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage bucket id */- id: string}}requestBody: {content: {- 'application/json': components['schemas']['GetSignedUrlBody']+ 'application/json': components['schemas']['CreateStorageBucketBody']}}responses: {201: {content: {- 'application/json': components['schemas']['SignedUrlResponse']+ 'application/json': string}}403: {content: never}- /** @description Failed to create a signed URL */+ /** @description Failed to create bucket */500: {content: never}}}- /** Gets multiple signed URLs */- StorageObjectsController_createSignedUrls: {+ /** Gets bucket */+ StorageBucketIdController_getBucket: {parameters: {path: {/** @description Project ref */@@ -12262,374 +12265,354 @@ export interface operations {id: string}}- requestBody: {- content: {- 'application/json': components['schemas']['GetSignedUrlsBody']- }- }responses: {- 201: {+ 200: {content: {- 'application/json': components['schemas']['SignedUrlsResponse'][]+ 'application/json': components['schemas']['StorageBucket']}}403: {content: never}- /** @description Failed to get multiple signed URLs */+ /** @description Failed to get bucket */500: {content: never}}}- /** Gets project storage credentials */- StorageS3CredentialsController_getAllCredentials: {+ /** Deletes bucket */+ StorageBucketIdController_deleteBucket: {parameters: {path: {/** @description Project ref */ref: string+ /** @description Storage bucket id */+ id: string}}responses: {200: {- content: {- 'application/json': components['schemas']['GetStorageCredentialsResponse']- }+ content: never}403: {content: never}- /** @description Failed to get project storage credentials */+ /** @description Failed to delete bucket */500: {content: never}}}- /** Creates project storage credential */- StorageS3CredentialsController_createCredential: {+ /** Updates bucket */+ StorageBucketIdController_updateBucket: {parameters: {path: {/** @description Project ref */ref: string+ /** @description Storage bucket id */+ id: string}}requestBody: {content: {- 'application/json': components['schemas']['CreateStorageCredentialBody']+ 'application/json': components['schemas']['UpdateStorageBucketBody']}}responses: {- 201: {- content: {- 'application/json': components['schemas']['CreateStorageCredentialResponse']- }+ 200: {+ content: never}403: {content: never}- /** @description Failed to create project storage credential */+ /** @description Failed to update bucket */500: {content: never}}}- /** Deletes project storage credential */- StorageS3CredentialsController_deleteCredential: {+ /** Removes all objects inside a single bucket. */+ StorageBucketIdController_emptyBucket: {parameters: {path: {/** @description Project ref */ref: string- /** @description Storage credential id */+ /** @description Storage bucket id */id: string}}responses: {- 204: {+ 201: {content: never}403: {content: never}- /** @description Failed to delete project storage credential */+ /** @description Failed to empty bucket */500: {content: never}}}- /** Gets information about overdue invoices that relate to the authenticated user */- InvoicesController_getOverdueInvoices: {- responses: {- 200: {- content: {- 'application/json': components['schemas']['OverdueInvoiceCount'][]- }+ /** Deletes objects */+ StorageObjectsController_deleteObjects: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ /** @description Storage bucket id */+ id: string}}- }- /** Sets up a payment method */- SetupIntentController_setUpPaymentMethod: {requestBody: {content: {- 'application/json': components['schemas']['HCaptchaBody']+ 'application/json': components['schemas']['DeleteObjectsBody']}}responses: {- 201: {- content: {- 'application/json': components['schemas']['SetupIntentResponse']- }+ 200: {+ content: never}- /** @description Failed to set up a payment method */+ 403: {+ content: never+ }+ /** @description Failed to delete objects */500: {content: never}}}- /** Sends server activity */- TelemetryActivityController_sendServerActivity: {+ /** Copys object */+ StorageObjectsController_copyObject: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ /** @description Storage bucket id */+ id: string+ }+ }requestBody: {content: {- 'application/json': components['schemas']['TelemetryActivityBody']+ 'application/json': components['schemas']['CopyObjectBody']}}responses: {201: {+ content: {+ 'application/json': components['schemas']['CopyObjectResponse']+ }+ }+ 403: {content: never}- /** @description Failed to send server activity */+ /** @description Failed to copy object */500: {content: never}}}- /** Sends analytics server event */- TelemetryEventController_sendServerEvent: {+ /** Downloads a file from a private bucket */+ StorageObjectsController_download: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ /** @description Storage bucket id */+ id: string+ }+ }requestBody: {content: {- 'application/json': components['schemas']['TelemetryEventBody']+ 'application/json': components['schemas']['DownloadObjectBody']}}responses: {201: {content: never}- /** @description Failed to send analytics server event */- 500: {- content: never- }- }- }- /** Send analytics identify event */- TelemetryIdentifyController_identify: {- requestBody: {- content: {- 'application/json': components['schemas']['TelemetryIdentifyBody']- }- }- responses: {- 201: {+ 403: {content: never}- /** @description Failed to send analytics identify event */+ /** @description Failed to download the file */500: {content: never}}}- /** Send server page event */- TelemetryPageController_sendServerPage: {+ /** Gets list of objects with the given bucket */+ StorageObjectsController_getObjects: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ /** @description Storage bucket id */+ id: string+ }+ }requestBody: {content: {- 'application/json': components['schemas']['TelemetryPageBody']+ 'application/json': components['schemas']['GetObjectsBody']}}responses: {201: {+ content: {+ 'application/json': components['schemas']['StorageObject'][]+ }+ }+ 403: {content: never}- /** @description Failed to send server page event */+ /** @description Failed to get list of objects with the given bucket */500: {content: never}}}- /** Send pageview event */- TelemetryPageviewController_sendServerPageViewed: {+ /** Move object */+ StorageObjectsController_moveObject: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ /** @description Storage bucket id */+ id: string+ }+ }requestBody: {content: {- 'application/json': components['schemas']['TelemetryPageviewBody']+ 'application/json': components['schemas']['MoveObjectBody']}}responses: {201: {content: never}- /** @description Failed to send pageview event */- 500: {+ 403: {content: never}- }- }- /** Redirects to Fly sso flow */- TermsOfServiceController_flyTosAccepted: {- parameters: {- query: {- extension_id: string- organization_id: string- }- }- responses: {- 200: {+ /** @description Failed to move object */+ 500: {content: never}}}- /** Gets the list of Vercel projects */- VercelProjectsController_getVercelProjects: {+ /** Creates URL for an asset in a public bucket */+ StorageObjectsController_createPublicUrl: {parameters: {- query: {+ path: {+ /** @description Project ref */+ ref: string+ /** @description Storage bucket id */id: string- teamId: string}- header: {- vercel_authorization: string+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['GetPublicUrlBody']}}responses: {- 200: {+ 201: {content: {- 'application/json': Record<string, never>[]+ 'application/json': components['schemas']['PublicUrlResponse']}}- /** @description Failed to get projects */+ 403: {+ content: never+ }+ /** @description Failed to create public URL */500: {content: never}}}- /** Gets the Vercel project with the given ID */- VercelProjectsController_getVercelProject: {+ /** Creates a signed URL */+ StorageObjectsController_createSignedUrl: {parameters: {- query: {- id: string- teamId: string- }- header: {- vercel_authorization: string- }path: {+ /** @description Project ref */+ ref: string+ /** @description Storage bucket id */id: string- teamId: string}}- responses: {- 200: {- content: {- 'application/json': Record<string, never>- }- }- /** @description Failed to get project */- 500: {- content: never- }- }- }- /** Gets the environment variables for the given project ID on behalf of the given team ID */- VercelEnvironmentVariablesController_getEnvironmentVariables: {- parameters: {- query: {- projectId: string- teamId?: string- }- header: {- vercel_authorization: string+ requestBody: {+ content: {+ 'application/json': components['schemas']['GetSignedUrlBody']}}responses: {- 200: {+ 201: {content: {- 'application/json': Record<string, never>[]+ 'application/json': components['schemas']['SignedUrlResponse']}}- /** @description Failed to get Vercel environment variables */+ 403: {+ content: never+ }+ /** @description Failed to create a signed URL */500: {content: never}}}- /** Creates the environment variable for the given project ID on behalf of the given team ID */- VercelEnvironmentVariablesController_createEnvironmentVariable: {+ /** Gets multiple signed URLs */+ StorageObjectsController_createSignedUrls: {parameters: {- query: {- projectId: string- teamId?: string- }- header: {- vercel_authorization: string+ path: {+ /** @description Project ref */+ ref: string+ /** @description Storage bucket id */+ id: string}}requestBody: {content: {- 'application/json': components['schemas']['CreateVercelEnvironmentVariableBody']+ 'application/json': components['schemas']['GetSignedUrlsBody']}}responses: {201: {content: {- 'application/json': Record<string, never>+ 'application/json': components['schemas']['SignedUrlsResponse'][]}}- /** @description Failed to get the environment variables */- 500: {- content: never- }- }- }- /** Gets the Vercel access token for the given code */- VercelAccessTokenController_getAccessToken: {- parameters: {- query: {- code: string- }- }- responses: {- 200: {+ 403: {content: never}- /** @description Failed to get Vercel access token */+ /** @description Failed to get multiple signed URLs */500: {content: never}}}- /** Gets GoTrue template */- SystemAuthTemplateController_getTemplate: {+ /** Gets project storage credentials */+ StorageS3CredentialsController_getAllCredentials: {parameters: {path: {+ /** @description Project ref */ref: string- template:- | 'confirmation'- | 'email-change'- | 'invite'- | 'magic-link'- | 'recovery'- | 'reauthentication'}}responses: {200: {content: {- 'application/json': string+ 'application/json': components['schemas']['GetStorageCredentialsResponse']}}- /** @description Failed to retrieve GoTrue template */+ 403: {+ content: never+ }+ /** @description Failed to get project storage credentials */500: {content: never}}}- /** Updates the database password */- DatabasePasswordController_updatePassword: {+ /** Creates project storage credential */+ StorageS3CredentialsController_createCredential: {parameters: {path: {/** @description Project ref */@@ -12638,609 +12621,636 @@ export interface operations {}requestBody: {content: {- 'application/json': components['schemas']['UpdatePasswordBody']+ 'application/json': components['schemas']['CreateStorageCredentialBody']}}responses: {- 200: {- content: never+ 201: {+ content: {+ 'application/json': components['schemas']['CreateStorageCredentialResponse']+ }}403: {content: never}- /** @description Failed to update database password */+ /** @description Failed to create project storage credential */500: {content: never}}}- /** Reset JWT if leaked keys found by GitHub secret scanning */- GithubSecretAlertController_resetJwt: {+ /** Deletes project storage credential */+ StorageS3CredentialsController_deleteCredential: {parameters: {- header: {- 'github-public-key-identifier': string- 'github-public-key-signature': string- }- }- requestBody: {- content: {- 'application/json': string+ path: {+ /** @description Project ref */+ ref: string+ /** @description Storage credential id */+ id: string}}responses: {- 200: {+ 204: {content: never}- /** @description Failed to reset JWT */+ 403: {+ content: never+ }+ /** @description Failed to delete project storage credential */500: {content: never}}}- /** Get API health status */- HealthController_getStatus: {+ /** Gets information about overdue invoices that relate to the authenticated user */+ InvoicesController_getOverdueInvoices: {responses: {200: {content: {- 'application/json': components['schemas']['HealthResponse']+ 'application/json': components['schemas']['OverdueInvoiceCount'][]}}- /** @description Failed to retrieve API health status */+ }+ }+ /** Sets up a payment method */+ SetupIntentController_setUpPaymentMethod: {+ requestBody: {+ content: {+ 'application/json': components['schemas']['HCaptchaBody']+ }+ }+ responses: {+ 201: {+ content: {+ 'application/json': components['schemas']['SetupIntentResponse']+ }+ }+ /** @description Failed to set up a payment method */500: {content: never}}}- /** Processes GitHub event */- GitHubWebhooksController_processEvent: {- parameters: {- header: {- 'x-github-delivery': string- 'x-github-event': string- 'x-hub-signature-256': string+ /** Sends server activity */+ TelemetryActivityController_sendServerActivity: {+ requestBody: {+ content: {+ 'application/json': components['schemas']['TelemetryActivityBody']}}responses: {201: {content: never}- /** @description Failed to process GitHub event */+ /** @description Failed to send server activity */500: {content: never}}}- /** Processes Vercel event */- VercelWebhooksController_processEvent: {- parameters: {- header: {- 'x-vercel-signature': string+ /** Sends analytics server event */+ TelemetryEventController_sendServerEvent: {+ requestBody: {+ content: {+ 'application/json': components['schemas']['TelemetryEventBody']}}responses: {201: {content: never}- /** @description Failed to process Vercel event */+ /** @description Failed to send analytics server event */500: {content: never}}}- /** Processes Orb events */- OrbWebhooksController_processEvent: {+ /** Send analytics identify event */+ TelemetryIdentifyController_identify: {requestBody: {content: {- 'application/json': components['schemas']['Buffer']+ 'application/json': components['schemas']['TelemetryIdentifyBody']}}responses: {- 200: {+ 201: {content: never}- /** @description Failed to process Orb event */+ /** @description Failed to send analytics identify event */500: {content: never}}}- /** Gets the partner usage and costs */- PartnerBillingSystemController_getPartnerUsageAndCosts: {- parameters: {- path: {- /** @description Organization slug */- slug: string+ /** Send server page event */+ TelemetryPageController_sendServerPage: {+ requestBody: {+ content: {+ 'application/json': components['schemas']['TelemetryPageBody']}}responses: {- 200: {+ 201: {content: never}- /** @description Failed to retrieve subscription */+ /** @description Failed to send server page event */500: {content: never}}}- /** Gets the current subscription */- OrgSubscriptionSystemController_getSubscription: {- parameters: {- path: {- /** @description Organization slug */- slug: string+ /** Send pageview event */+ TelemetryPageviewController_sendServerPageViewed: {+ requestBody: {+ content: {+ 'application/json': components['schemas']['TelemetryPageviewBody']}}responses: {- 200: {+ 201: {content: never}- /** @description Failed to retrieve subscription */+ /** @description Failed to send pageview event */500: {content: never}}}- /** Updates subscription */- OrgSubscriptionSystemController_updateSubscription: {+ /** Redirects to Fly sso flow */+ TermsOfServiceController_flyTosAccepted: {parameters: {- path: {- /** @description Organization slug */- slug: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['UpdateSubscriptionV2AdminBody']+ query: {+ extension_id: string+ organization_id: string}}responses: {200: {content: never}- /** @description Failed to update subscription */- 500: {- content: never- }}}- /** Updates restriction status of an org */- OrgRestrictionsSystemController_updateRestriction: {+ /** Gets the list of Vercel projects */+ VercelProjectsController_getVercelProjects: {parameters: {- path: {- /** @description Organization slug */- slug: string+ query: {+ id: string+ teamId: string}- }- requestBody: {- content: {- 'application/json': components['schemas']['UpdateRestrictionsBody']+ header: {+ vercel_authorization: string}}responses: {200: {content: {- 'application/json': components['schemas']['UpdateRestrictionsResponse']+ 'application/json': Record<string, never>[]}}- /** @description Failed to update restriction status */+ /** @description Failed to get projects */500: {content: never}}}- /** Gets usage stats */- OrgUsageSystemController_getOrgUsage: {+ /** Gets the Vercel project with the given ID */+ VercelProjectsController_getVercelProject: {parameters: {- query?: {- project_ref?: string- start?: string- end?: string+ query: {+ id: string+ teamId: string+ }+ header: {+ vercel_authorization: string}path: {- /** @description Organization slug */- slug: string+ id: string+ teamId: string}}responses: {200: {content: {- 'application/json': components['schemas']['OrgUsageResponse']+ 'application/json': Record<string, never>}}- /** @description Failed to get usage stats */+ /** @description Failed to get project */500: {content: never}}}- /** Creates a partner organization */- AwsPartnerOrganizationsSystemController_createPartnerOrganization: {- requestBody: {- content: {- 'application/json': components['schemas']['CreateAwsPartnerOrganizationBody']+ /** Gets the environment variables for the given project ID on behalf of the given team ID */+ VercelEnvironmentVariablesController_getEnvironmentVariables: {+ parameters: {+ query: {+ projectId: string+ teamId?: string+ }+ header: {+ vercel_authorization: string}}responses: {- 201: {+ 200: {content: {- 'application/json': components['schemas']['AwsPartnerOrganizationResponse']+ 'application/json': Record<string, never>[]}}- /** @description Unexpected error creating a partner organization */+ /** @description Failed to get Vercel environment variables */500: {content: never}}}- /** Create a project */- SystemProjectsController_createProject: {+ /** Creates the environment variable for the given project ID on behalf of the given team ID */+ VercelEnvironmentVariablesController_createEnvironmentVariable: {+ parameters: {+ query: {+ projectId: string+ teamId?: string+ }+ header: {+ vercel_authorization: string+ }+ }requestBody: {content: {- 'application/json': components['schemas']['SystemCreateProjectBody']+ 'application/json': components['schemas']['CreateVercelEnvironmentVariableBody']}}responses: {201: {content: {- 'application/json': components['schemas']['SystemProjectResponse']+ 'application/json': Record<string, never>}}+ /** @description Failed to get the environment variables */+ 500: {+ content: never+ }}}- /** Updates project addon */- AddonsController_updateAddon: {+ /** Gets the Vercel access token for the given code */+ VercelAccessTokenController_getAccessToken: {parameters: {- path: {- /** @description Project ref */- ref: string- }- }- requestBody: {- content: {- 'application/json': components['schemas']['UpdateAddonAdminBody']+ query: {+ code: string}}responses: {- 201: {+ 200: {content: never}- /** @description Failed to update project addon */+ /** @description Failed to get Vercel access token */500: {content: never}}}- /** Removes project addon */- AddonsController_removeAddon: {+ /** Gets GoTrue template */+ SystemAuthTemplateController_getTemplate: {parameters: {path: {- /** @description Project ref */ref: string- addon_variant: components['schemas']['AddonVariantId']+ template:+ | 'confirmation'+ | 'email-change'+ | 'invite'+ | 'magic-link'+ | 'recovery'+ | 'reauthentication'}}responses: {200: {- content: never+ content: {+ 'application/json': string+ }}- /** @description Failed to remove project addon */+ /** @description Failed to retrieve GoTrue template */500: {content: never}}}- /** Handle update project jwt on completion */- ProjectUpdateJwtController_completeUpdateJwt: {+ /** Updates the database password */+ DatabasePasswordController_updatePassword: {parameters: {path: {/** @description Project ref */ref: string}}+ requestBody: {+ content: {+ 'application/json': components['schemas']['UpdatePasswordBody']+ }+ }responses: {- 201: {+ 200: {+ content: never+ }+ 403: {+ content: never+ }+ /** @description Failed to update database password */+ 500: {content: never}}}- /** Allows a project to obtain temporary credentials. */- AwsCredentialsController_getTemporaryCredentials: {+ /** Reset JWT if leaked keys found by GitHub secret scanning */+ GithubSecretAlertController_resetJwt: {parameters: {- path: {- /** @description Project ref */- ref: string+ header: {+ 'github-public-key-identifier': string+ 'github-public-key-signature': string}}requestBody: {content: {- 'application/json': components['schemas']['CredentialsRequestBody']+ 'application/json': string+ }+ }+ responses: {+ 200: {+ content: never+ }+ /** @description Failed to reset JWT */+ 500: {+ content: never}}+ }+ /** Get API health status */+ HealthController_getStatus: {responses: {200: {content: {- 'application/json': components['schemas']['CredentialsResponseBody']+ 'application/json': components['schemas']['HealthResponse']}}- /** @description Failed to obtain temporary credentials. */+ /** @description Failed to retrieve API health status */500: {content: never}}}- /**- * List all functions- * @description Returns all functions you've previously added to the specified project.- */- 'v1-list-all-functions': {+ /** Processes GitHub event */+ GitHubWebhooksController_processEvent: {parameters: {- path: {- /** @description Project ref */- ref: string+ header: {+ 'x-github-delivery': string+ 'x-github-event': string+ 'x-hub-signature-256': string}}responses: {- 200: {- content: {- 'application/json': components['schemas']['FunctionResponse'][]- }- }- 403: {+ 201: {content: never}- /** @description Failed to retrieve project's functions */+ /** @description Failed to process GitHub event */500: {content: never}}}- /**- * Create a function- * @description Creates a function and adds it to the specified project.- */- SystemFunctionsController_createFunction: {+ /** Processes Vercel event */+ VercelWebhooksController_processEvent: {parameters: {- query?: {- slug?: string- name?: string- verify_jwt?: boolean- import_map?: boolean- entrypoint_path?: string- import_map_path?: string+ header: {+ 'x-vercel-signature': string+ }+ }+ responses: {+ 201: {+ content: never}- path: {- /** @description Project ref */- ref: string+ /** @description Failed to process Vercel event */+ 500: {+ content: never}}+ }+ /** Processes Orb events */+ OrbWebhooksController_processEvent: {requestBody: {content: {- 'application/json': components['schemas']['V1CreateFunctionBody']- 'application/vnd.denoland.eszip': components['schemas']['V1CreateFunctionBody']+ 'application/json': components['schemas']['Buffer']}}responses: {- 201: {- content: {- 'application/json': components['schemas']['FunctionResponse']- }- }- 403: {+ 200: {content: never}- /** @description Failed to create project's function */+ /** @description Failed to process Orb event */500: {content: never}}}- /** Deletes all Edge Functions from a project */- SystemFunctionsController_systemDeleteAllFunctions: {+ /** Gets the partner usage and costs */+ PartnerBillingSystemController_getPartnerUsageAndCosts: {parameters: {path: {- /** @description Project ref */- ref: string+ /** @description Organization slug */+ slug: string}}responses: {200: {content: never}+ /** @description Failed to retrieve subscription */+ 500: {+ content: never+ }}}- /**- * Delete a function- * @description Deletes a function with the specified slug from the specified project.- */- 'v1-delete-a-function': {+ /** Gets the current subscription */+ OrgSubscriptionSystemController_getSubscription: {parameters: {path: {- /** @description Project ref */- ref: string- /** @description Function slug */- function_slug: string+ /** @description Organization slug */+ slug: string}}responses: {200: {content: never}- 403: {- content: never- }- /** @description Failed to delete function with given slug */+ /** @description Failed to retrieve subscription */500: {content: never}}}- /**- * Update a function- * @description Updates a function with the specified slug and project.- */- 'v1-update-a-function': {+ /** Updates subscription */+ OrgSubscriptionSystemController_updateSubscription: {parameters: {- query?: {- slug?: string- name?: string- verify_jwt?: boolean- import_map?: boolean- entrypoint_path?: string- import_map_path?: string- }path: {- /** @description Project ref */- ref: string- /** @description Function slug */- function_slug: string+ /** @description Organization slug */+ slug: string}}requestBody: {content: {- 'application/json': components['schemas']['V1UpdateFunctionBody']- 'application/vnd.denoland.eszip': components['schemas']['V1UpdateFunctionBody']+ 'application/json': components['schemas']['UpdateSubscriptionV2AdminBody']}}responses: {200: {- content: {- 'application/json': components['schemas']['FunctionResponse']- }- }- 403: {content: never}- /** @description Failed to update function with given slug */+ /** @description Failed to update subscription */500: {content: never}}}- /** Records an HA event */- HaEventsController_updateStatus: {+ /** Updates restriction status of an org */+ OrgRestrictionsSystemController_updateRestriction: {parameters: {path: {- /** @description Project ref */- ref: string+ /** @description Organization slug */+ slug: string}}requestBody: {content: {- 'application/json': components['schemas']['EventBody']+ 'application/json': components['schemas']['UpdateRestrictionsBody']}}responses: {200: {- content: never+ content: {+ 'application/json': components['schemas']['UpdateRestrictionsResponse']+ }}- /** @description Failed to record HA event. */+ /** @description Failed to update restriction status */500: {content: never}}}- /** Updates a project's health status. */- HealthReportingController_updateStatus: {+ /** Gets usage stats */+ OrgUsageSystemController_getOrgUsage: {parameters: {+ query?: {+ project_ref?: string+ start?: string+ end?: string+ }path: {- /** @description Project ref */- ref: string+ /** @description Organization slug */+ slug: string+ }+ }+ responses: {+ 200: {+ content: {+ 'application/json': components['schemas']['OrgUsageResponse']+ }+ }+ /** @description Failed to get usage stats */+ 500: {+ content: never}}+ }+ /** Creates a partner organization */+ AwsPartnerOrganizationsSystemController_createPartnerOrganization: {requestBody: {content: {- 'application/json': components['schemas']['ReportStatusBody']+ 'application/json': components['schemas']['CreateAwsPartnerOrganizationBody']}}responses: {- 200: {- content: never+ 201: {+ content: {+ 'application/json': components['schemas']['AwsPartnerOrganizationResponse']+ }}- /** @description Failed to update health status. */+ /** @description Unexpected error creating a partner organization */500: {content: never}}}- /** Run project lints */- SystemProjectRunLintsController_runProjectLints: {+ /** Create a project */+ SystemProjectsController_createProject: {+ requestBody: {+ content: {+ 'application/json': components['schemas']['SystemCreateProjectBody']+ }+ }+ responses: {+ 201: {+ content: {+ 'application/json': components['schemas']['SystemProjectResponse']+ }+ }+ }+ }+ /** Updates project addon */+ AddonsController_updateAddon: {parameters: {path: {/** @description Project ref */ref: string}}+ requestBody: {+ content: {+ 'application/json': components['schemas']['UpdateAddonAdminBody']+ }+ }responses: {- 200: {- content: {- 'application/json': components['schemas']['ProjectLintResponse'][]- }+ 201: {+ content: never}- 403: {+ /** @description Failed to update project addon */+ 500: {content: never}}}- /**- * List all secrets- * @description Returns all secrets you've previously added to the specified project.- */- 'v1-list-all-secrets': {+ /** Removes project addon */+ AddonsController_removeAddon: {parameters: {path: {/** @description Project ref */ref: string+ addon_variant: components['schemas']['AddonVariantId']}}responses: {200: {- content: {- 'application/json': components['schemas']['SecretResponse'][]- }- }- 403: {content: never}- /** @description Failed to retrieve project's secrets */+ /** @description Failed to remove project addon */500: {content: never}}}- /**- * Bulk create secrets- * @description Creates multiple secrets and adds them to the specified project.- */- 'v1-bulk-create-secrets': {+ /** Handle update project jwt on completion */+ ProjectUpdateJwtController_completeUpdateJwt: {parameters: {path: {/** @description Project ref */ref: string}}- requestBody: {- content: {- 'application/json': components['schemas']['CreateSecretBody'][]- }- }responses: {201: {content: never}- 403: {- content: never- }- /** @description Failed to create project's secrets */- 500: {- content: never- }}}- /**- * Bulk delete secrets- * @description Deletes all secrets with the given names from the specified project- */- 'v1-bulk-delete-secrets': {+ /** Allows a project to obtain temporary credentials. */+ AwsCredentialsController_getTemporaryCredentials: {parameters: {path: {/** @description Project ref */@@ -13249,26 +13259,26 @@ export interface operations {}requestBody: {content: {- 'application/json': string[]+ 'application/json': components['schemas']['CredentialsRequestBody']}}responses: {200: {content: {- 'application/json': Record<string, never>+ 'application/json': components['schemas']['CredentialsResponseBody']}}- 403: {- content: never- }- /** @description Failed to delete secrets with given names */+ /** @description Failed to obtain temporary credentials. */500: {content: never}}}- /** Refreshes secrets */- SecretsRefreshController_refreshSecrets: {+ /**+ * List all functions+ * @description Returns all functions you've previously added to the specified project.+ */+ 'v1-list-all-functions': {parameters: {path: {/** @description Project ref */@@ -13276,39 +13286,62 @@ export interface operations {}}responses: {- 201: {+ 200: {+ content: {+ 'application/json': components['schemas']['FunctionResponse'][]+ }+ }+ 403: {content: never}- /** @description Failed to refresh secrets */+ /** @description Failed to retrieve project's functions */500: {content: never}}}- /** Processes Stripe event */- StripeWebhooksController_processEvent: {+ /**+ * Create a function+ * @description Creates a function and adds it to the specified project.+ */+ SystemFunctionsController_createFunction: {parameters: {- header: {- 'stripe-signature': string+ query?: {+ slug?: string+ name?: string+ verify_jwt?: boolean+ import_map?: boolean+ entrypoint_path?: string+ import_map_path?: string+ }+ path: {+ /** @description Project ref */+ ref: string}}requestBody: {content: {- 'application/json': components['schemas']['Buffer']+ 'application/json': components['schemas']['V1CreateFunctionBody']+ 'application/vnd.denoland.eszip': components['schemas']['V1CreateFunctionBody']}}responses: {- 200: {+ 201: {+ content: {+ 'application/json': components['schemas']['FunctionResponse']+ }+ }+ 403: {content: never}- /** @description Failed to process Stripe event */+ /** @description Failed to create project's function */500: {content: never}}}- /** Lists project's warehouse access tokens from logflare */- 'v1-list-all-warehouse-tokens': {+ /** Deletes all Edge Functions from a project */+ SystemFunctionsController_systemDeleteAllFunctions: {parameters: {path: {/** @description Project ref */@@ -13317,38 +13350,23 @@ export interface operations {}responses: {200: {- content: {- 'application/json': components['schemas']['LFAccessToken'][]- }- }- 403: {- content: never- }- /** @description Failed to fetch warehouse access tokens */- 500: {content: never}}}- /** Create a warehouse access token */- 'v1-create-a-warehouse-token': {- responses: {- 201: {- content: {- 'application/json': components['schemas']['LFAccessToken']- }- }- 403: {- content: never- }- /** @description Failed to create warehouse access token */- 500: {- content: never+ /**+ * Delete a function+ * @description Deletes a function with the specified slug from the specified project.+ */+ 'v1-delete-a-function': {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ /** @description Function slug */+ function_slug: string}}- }- /** Delete a warehouse access token */- 'v1-delete-a-warehouse-token': {responses: {200: {content: never@@ -13356,105 +13374,124 @@ export interface operations {403: {content: never}- /** @description Failed to delete warehouse access token */+ /** @description Failed to delete function with given slug */500: {content: never}}}- /** Lists project's warehouse collections from logflare */- 'v1-list-all-warehouse-collections': {+ /**+ * Update a function+ * @description Updates a function with the specified slug and project.+ */+ 'v1-update-a-function': {parameters: {+ query?: {+ slug?: string+ name?: string+ verify_jwt?: boolean+ import_map?: boolean+ entrypoint_path?: string+ import_map_path?: string+ }path: {/** @description Project ref */ref: string+ /** @description Function slug */+ function_slug: string+ }+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['V1UpdateFunctionBody']+ 'application/vnd.denoland.eszip': components['schemas']['V1UpdateFunctionBody']}}responses: {200: {content: {- 'application/json': components['schemas']['LFSource'][]+ 'application/json': components['schemas']['FunctionResponse']}}403: {content: never}- /** @description Failed to fetch warehouse collections */+ /** @description Failed to update function with given slug */500: {content: never}}}- /** Create a warehouse collection */- 'v1-create-a-warehouse-collection': {- responses: {- 201: {- content: {- 'application/json': components['schemas']['LFSource']- }- }- 403: {- content: never+ /** Records an HA event */+ HaEventsController_updateStatus: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string}- /** @description Failed to create warehouse collection */- 500: {- content: never+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['EventBody']}}- }- /** Get a warehouse collection */- 'v1-get-a-warehouse-collection': {responses: {200: {- content: {- 'application/json': components['schemas']['LFSource']- }- }- 403: {content: never}- /** @description Failed to fetch warehouse collection */+ /** @description Failed to record HA event. */500: {content: never}}}- /** Delete a warehouse collection */- 'v1-delete-a-warehouse-collection': {+ /** Updates a project's health status. */+ HealthReportingController_updateStatus: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ }+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['ReportStatusBody']+ }+ }responses: {200: {- content: {- 'application/json': components['schemas']['LFSource']- }- }- 403: {content: never}- /** @description Failed to delete warehouse collection */+ /** @description Failed to update health status. */500: {content: never}}}- /** Update a warehouse collection */- 'v1-update-a-warehouse-collection': {+ /** Run project lints */+ SystemProjectRunLintsController_runProjectLints: {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ }+ }responses: {200: {content: {- 'application/json': components['schemas']['LFSource']+ 'application/json': components['schemas']['ProjectLintResponse'][]}}403: {content: never}- /** @description Failed to update warehouse collection */- 500: {- content: never- }}}- /** Lists project's warehouse endpoints from logflare */- 'v1-list-all-warehouse-endpoints': {+ /**+ * List all secrets+ * @description Returns all secrets you've previously added to the specified project.+ */+ 'v1-list-all-secrets': {parameters: {path: {/** @description Project ref */@@ -13464,69 +13501,80 @@ export interface operations {responses: {200: {content: {- 'application/json': components['schemas']['LFEndpoint'][]+ 'application/json': components['schemas']['SecretResponse'][]}}403: {content: never}- /** @description Failed to fetch warehouse endpoints */+ /** @description Failed to retrieve project's secrets */500: {content: never}}}- /** Create a warehouse endpoint */- 'v1-create-a-warehouse-endpoint': {+ /**+ * Bulk create secrets+ * @description Creates multiple secrets and adds them to the specified project.+ */+ 'v1-bulk-create-secrets': {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string+ }+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['CreateSecretBody'][]+ }+ }responses: {201: {- content: {- 'application/json': components['schemas']['LFEndpoint']- }+ content: never}403: {content: never}- /** @description Failed to create warehouse endpoint */+ /** @description Failed to create project's secrets */500: {content: never}}}- /** Update a warehouse endpoint */- 'v1-update-a-warehouse-endpoint': {- responses: {- 200: {- content: {- 'application/json': components['schemas']['LFEndpoint']- }- }- 403: {- content: never+ /**+ * Bulk delete secrets+ * @description Deletes all secrets with the given names from the specified project+ */+ 'v1-bulk-delete-secrets': {+ parameters: {+ path: {+ /** @description Project ref */+ ref: string}- /** @description Failed to update warehouse endpoint */- 500: {- content: never+ }+ requestBody: {+ content: {+ 'application/json': string[]}}- }- /** Delete a warehouse endpoint */- 'v1-delete-a-warehouse-endpoint': {responses: {200: {- content: never+ content: {+ 'application/json': Record<string, never>+ }}403: {content: never}- /** @description Failed to delete warehouse endpoint */+ /** @description Failed to delete secrets with given names */500: {content: never}}}- /** Lists project's warehouse queries from logflare */- 'v1-list-all-warehouse-queries': {+ /** Refreshes secrets */+ SecretsRefreshController_refreshSecrets: {parameters: {path: {/** @description Project ref */@@ -13534,36 +13582,32 @@ export interface operations {}}responses: {- 200: {- content: never- }- 403: {+ 201: {content: never}- /** @description Failed to fetch warehouse queries */+ /** @description Failed to refresh secrets */500: {content: never}}}- /** Gets project's warehouse tenant from logflare */- 'v1-provision-a-warehouse-tenant': {+ /** Processes Stripe event */+ StripeWebhooksController_processEvent: {parameters: {- path: {- /** @description Project ref */- ref: string+ header: {+ 'stripe-signature': string+ }+ }+ requestBody: {+ content: {+ 'application/json': components['schemas']['Buffer']}}responses: {200: {- content: {- 'application/json': components['schemas']['LFUser']- }- }- 403: {content: never}- /** @description Failed to fetch or provision warehouse tenant */+ /** @description Failed to process Stripe event */500: {content: never}