feat: Add WebDAV resource copy functionality

This commit is contained in:
Pedro Ruiz
2025-09-10 22:15:16 +02:00
parent b55b9640c6
commit 5d4902a73e
4 changed files with 126 additions and 0 deletions
+10
View File
@@ -96,3 +96,13 @@ class MoveResourceResponse(StatusResponse):
overwrite: bool = Field(
description="Whether the destination was overwritten if it existed"
)
class CopyResourceResponse(StatusResponse):
"""Response model for resource copy operations."""
source_path: str = Field(description="Original path of the resource")
destination_path: str = Field(description="Destination path for the copy")
overwrite: bool = Field(
description="Whether the destination was overwritten if it existed"
)