🔥 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:
Gabriel Luiz Freitas Almeida 2023-06-21 10:33:33 -03:00
commit 57f322a0e6
3 changed files with 17 additions and 4 deletions

View file

@ -49,4 +49,5 @@ export type InitTypeAPI = {
export type UploadFileTypeAPI = {
file_path: string;
flowId: string;
};