@@ -47,6 +47,7 @@ type Client interface {
4747 AlphaUpload (arg * CommitInfoWithProperties , content io.Reader ) (res * FileMetadata , err error )
4848 // Copy : Copy a file or folder to a different location in the user's
4949 // Dropbox. If the source path is a folder all its contents will be copied.
50+ // Deprecated: Use `CopyV2` instead
5051 Copy (arg * RelocationArg ) (res IsMetadata , err error )
5152 // CopyBatch : Copy multiple files or folders to different locations at once
5253 // in the user's Dropbox. If `RelocationBatchArg.allow_shared_folder` is
@@ -71,6 +72,7 @@ type Client interface {
7172 // Dropbox. If the source path is a folder all its contents will be copied.
7273 CopyV2 (arg * RelocationArg ) (res * RelocationResult , err error )
7374 // CreateFolder : Create a folder at a given path.
75+ // Deprecated: Use `CreateFolderV2` instead
7476 CreateFolder (arg * CreateFolderArg ) (res * FolderMetadata , err error )
7577 // CreateFolderV2 : Create a folder at a given path.
7678 CreateFolderV2 (arg * CreateFolderArg ) (res * CreateFolderResult , err error )
@@ -79,6 +81,7 @@ type Client interface {
7981 // indicates that the file or folder was deleted. The returned metadata will
8082 // be the corresponding `FileMetadata` or `FolderMetadata` for the item at
8183 // time of deletion, and not a `DeletedMetadata` object.
84+ // Deprecated: Use `DeleteV2` instead
8285 Delete (arg * DeleteArg ) (res IsMetadata , err error )
8386 // DeleteBatch : Delete multiple files/folders at once. This route is
8487 // asynchronous, which returns a job ID immediately and runs the delete
@@ -159,6 +162,7 @@ type Client interface {
159162 ListRevisions (arg * ListRevisionsArg ) (res * ListRevisionsResult , err error )
160163 // Move : Move a file or folder to a different location in the user's
161164 // Dropbox. If the source path is a folder all its contents will be moved.
165+ // Deprecated: Use `MoveV2` instead
162166 Move (arg * RelocationArg ) (res IsMetadata , err error )
163167 // MoveBatch : Move multiple files or folders to different locations at once
164168 // in the user's Dropbox. This route is 'all or nothing', which means if one
@@ -215,6 +219,7 @@ type Client interface {
215219 Upload (arg * CommitInfo , content io.Reader ) (res * FileMetadata , err error )
216220 // UploadSessionAppend : Append more data to an upload session. A single
217221 // request should not upload more than 150 MB.
222+ // Deprecated: Use `UploadSessionAppendV2` instead
218223 UploadSessionAppend (arg * UploadSessionCursor , content io.Reader ) (err error )
219224 // UploadSessionAppendV2 : Append more data to an upload session. When the
220225 // parameter close is set, this call will close the session. A single
0 commit comments