@@ -19,10 +19,11 @@ export const getUploadUrl = publicProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'GET',
|
||||
path: '/typebots/{typebotId}/blocks/{blockId}/storage/upload-url',
|
||||
path: '/v1/typebots/{typebotId}/blocks/{blockId}/storage/upload-url',
|
||||
summary: 'Get upload URL for a file',
|
||||
description: 'Used for the web client to get the bucket upload file.',
|
||||
deprecated: true,
|
||||
tags: ['Deprecated'],
|
||||
},
|
||||
})
|
||||
.input(
|
||||
|
||||
@@ -13,7 +13,7 @@ export const generateUploadUrl = publicProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'POST',
|
||||
path: '/generate-upload-url',
|
||||
path: '/v1/generate-upload-url',
|
||||
summary: 'Generate upload URL',
|
||||
description: 'Used to upload anything from the client to S3 bucket',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user