|
@@ -102,18 +102,20 @@ interface FolderService {
|
|
): Observable<FolderInfoData>
|
|
): Observable<FolderInfoData>
|
|
|
|
|
|
@PUT("move")
|
|
@PUT("move")
|
|
|
|
+ @FormUrlEncoded
|
|
fun moveFolder(
|
|
fun moveFolder(
|
|
@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>
|
|
|
|
|
|
@PUT("move")
|
|
@PUT("move")
|
|
|
|
+ @FormUrlEncoded
|
|
fun moveFolder(
|
|
fun moveFolder(
|
|
@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>
|
|
|
|
- )
|
|
|
|
|
|
+ @Field("folder_id_list[]") folderIdList: IntArray
|
|
|
|
+ ): Observable<FolderInfoData>
|
|
|
|
|
|
@PUT("sync_architecture")
|
|
@PUT("sync_architecture")
|
|
fun sync(
|
|
fun sync(
|