|
@@ -57,16 +57,18 @@ interface FolderService {
|
|
|
@Field("folder_id_list[]") folderIdList: IntArray
|
|
|
): Observable<DeleteFolderData>
|
|
|
|
|
|
- @DELETE("hard_destroy")
|
|
|
+ @HTTP(method = "DELETE", path = "hard_destroy", hasBody = true)
|
|
|
+ @FormUrlEncoded
|
|
|
fun hardDeleteFolder(
|
|
|
@Header("Authorization") accessToken: String,
|
|
|
@Field("folder_id") folderId: Int
|
|
|
): Observable<DeleteFolderData>
|
|
|
|
|
|
- @DELETE("hard_destroy")
|
|
|
+ @HTTP(method = "DELETE", path = "hard_destroy", hasBody = true)
|
|
|
+ @FormUrlEncoded
|
|
|
fun hardDeleteFolder(
|
|
|
@Header("Authorization") accessToken: String,
|
|
|
- @Field("folder_id_list") folderIdList: List<Int>
|
|
|
+ @Field("folder_id_list[]") folderIdList: IntArray
|
|
|
): Observable<DeleteFolderData>
|
|
|
|
|
|
@PUT("restore")
|