|
@@ -1,10 +1,7 @@
|
|
|
package com.example.kdan_data_center.datacenter.folder
|
|
|
|
|
|
import com.example.kdan_data_center.datacenter.folder.body.*
|
|
|
-import com.example.kdan_data_center.datacenter.folder.data.CreateFolderData
|
|
|
-import com.example.kdan_data_center.datacenter.folder.data.DeleteFolderData
|
|
|
-import com.example.kdan_data_center.datacenter.folder.data.FolderInfoData
|
|
|
-import com.example.kdan_data_center.datacenter.folder.data.UpdateFolderData
|
|
|
+import com.example.kdan_data_center.datacenter.folder.data.*
|
|
|
import io.reactivex.Observable
|
|
|
import retrofit2.http.*
|
|
|
|
|
@@ -118,10 +115,9 @@ interface FolderService {
|
|
|
): Observable<FolderInfoData>
|
|
|
|
|
|
@PUT("sync_architecture")
|
|
|
- fun sync(
|
|
|
+ fun syncFolder(
|
|
|
@Header("Authorization") accessToken: String,
|
|
|
@Header("Content-Type") contentType: String,
|
|
|
- @Body syncBody: SyncBody
|
|
|
- )
|
|
|
-
|
|
|
+ @Body syncFolderBody: SyncFolderBody
|
|
|
+ ): Observable<SyncFolderData>
|
|
|
}
|