From 37f633663642ccbf654ee0119413f2c2151c2f0e Mon Sep 17 00:00:00 2001 From: kingston125 Date: Wed, 4 Feb 2026 17:29:07 -0500 Subject: [PATCH] filelu: add multipart init response type --- backend/filelu/api/types.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/backend/filelu/api/types.go b/backend/filelu/api/types.go index c92d23d0a..511ad7274 100644 --- a/backend/filelu/api/types.go +++ b/backend/filelu/api/types.go @@ -3,6 +3,19 @@ package api import "encoding/json" +// MultipartInitResponse represents the response from multipart/init. +type MultipartInitResponse struct { + Status int `json:"status"` + Msg string `json:"msg"` + Result struct { + UploadID string `json:"upload_id"` + SessID string `json:"sess_id"` + Server string `json:"server"` + FolderID int64 `json:"folder_id"` + ObjectPath string `json:"object_path"` + } `json:"result"` +} + // CreateFolderResponse represents the response for creating a folder. type CreateFolderResponse struct { Status int `json:"status"`