mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 15:44:21 +00:00
Add parameters for source and destination paths in moveFile endpoint
This commit is contained in:
@@ -406,6 +406,8 @@ func (h *Handler) UploadFile() http.HandlerFunc {
|
||||
// @ID moveFile
|
||||
// @Security CookieAuth
|
||||
// @Param workspace_name path string true "Workspace name"
|
||||
// @Param src_path query string true "Source file path"
|
||||
// @Param dest_path query string true "Destination file path"
|
||||
// @Success 204 "No Content - File moved successfully"
|
||||
// @Failure 400 {object} ErrorResponse "Invalid file path"
|
||||
// @Failure 404 {object} ErrorResponse "File not found"
|
||||
|
||||
Reference in New Issue
Block a user