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