🔥 refactor(endpoints.py): rename client_id to flow_id in create_upload_file endpoint
✨ feat(endpoints.py): add UploadFileResponse schema to standardize upload file response
The client_id parameter in the create_upload_file endpoint has been renamed to flow_id to improve semantics. The UploadFileResponse schema has been added to standardize the response of the create_upload_file endpoint. The response now includes the flowId and file_path fields.
This commit is contained in:
parent
c26ecd3bda
commit
57f322a0e6
3 changed files with 17 additions and 4 deletions
|
|
@ -49,4 +49,5 @@ export type InitTypeAPI = {
|
|||
|
||||
export type UploadFileTypeAPI = {
|
||||
file_path: string;
|
||||
flowId: string;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue