|
@@ -86,32 +86,20 @@ interface FolderService {
|
|
): Observable<FolderInfoData>
|
|
): Observable<FolderInfoData>
|
|
|
|
|
|
@POST("copy")
|
|
@POST("copy")
|
|
- fun copyFolder(
|
|
|
|
- @Header("Authorization") accessToken: String,
|
|
|
|
- @Header("Content-Type") contentType: String,
|
|
|
|
- @Body selectFolderWithParent: SelectFolderWithParent
|
|
|
|
- )
|
|
|
|
-
|
|
|
|
- @POST("copy")
|
|
|
|
|
|
+ @FormUrlEncoded
|
|
fun copyFolder(
|
|
fun copyFolder(
|
|
@Header("Authorization") accessToken: String,
|
|
@Header("Authorization") accessToken: String,
|
|
@Field("parent_id") parentId: Int?,
|
|
@Field("parent_id") parentId: Int?,
|
|
@Field("folder_id") folderId: Int
|
|
@Field("folder_id") folderId: Int
|
|
- )
|
|
|
|
|
|
+ ): Observable<FolderInfoData>
|
|
|
|
|
|
@POST("copy")
|
|
@POST("copy")
|
|
|
|
+ @FormUrlEncoded
|
|
fun copyFolder(
|
|
fun copyFolder(
|
|
@Header("Authorization") accessToken: String,
|
|
@Header("Authorization") accessToken: String,
|
|
@Field("parent_id") parentId: Int?,
|
|
@Field("parent_id") parentId: Int?,
|
|
- @Field("folder_id_list") folderIdList: List<Int>
|
|
|
|
- )
|
|
|
|
-
|
|
|
|
- @PUT("move")
|
|
|
|
- fun moveFolder(
|
|
|
|
- @Header("Authorization") accessToken: String,
|
|
|
|
- @Header("Content-Type") contentType: String,
|
|
|
|
- @Body selectFolderWithParent: SelectFolderWithParent
|
|
|
|
- )
|
|
|
|
|
|
+ @Field("folder_id_list[]") folderIdList: IntArray
|
|
|
|
+ ): Observable<FolderInfoData>
|
|
|
|
|
|
@PUT("move")
|
|
@PUT("move")
|
|
fun moveFolder(
|
|
fun moveFolder(
|