update api specs
This commit is contained in:
parent
29891ce1e7
commit
8869c2d813
2 changed files with 11 additions and 1 deletions
|
@ -3,6 +3,13 @@
|
||||||
- Single Sign on for all Nextcloud Android Apps!
|
- Single Sign on for all Nextcloud Android Apps!
|
||||||
|
|
||||||
|
|
||||||
|
0.9.9.26
|
||||||
|
---------------------
|
||||||
|
- Fix - <a href="https://github.com/owncloud/News-Android-App/issues/726">#726 Add new feed fails</a>
|
||||||
|
- Fix - <a href="https://github.com/owncloud/News-Android-App/issues/744">#744 Fix issues when adding feeds (Thanks @Unpublished)</a>
|
||||||
|
- Feature - <a href="https://github.com/owncloud/News-Android-App/issues/747">#747 Add option to share article when using chrome-custom-tabs</a>
|
||||||
|
|
||||||
|
|
||||||
0.9.9.25
|
0.9.9.25
|
||||||
---------------------
|
---------------------
|
||||||
- Fix - app crashes
|
- Fix - app crashes
|
||||||
|
|
|
@ -15,6 +15,8 @@ import okhttp3.ResponseBody;
|
||||||
import retrofit2.Call;
|
import retrofit2.Call;
|
||||||
import retrofit2.http.Body;
|
import retrofit2.http.Body;
|
||||||
import retrofit2.http.DELETE;
|
import retrofit2.http.DELETE;
|
||||||
|
import retrofit2.http.Field;
|
||||||
|
import retrofit2.http.FormUrlEncoded;
|
||||||
import retrofit2.http.GET;
|
import retrofit2.http.GET;
|
||||||
import retrofit2.http.POST;
|
import retrofit2.http.POST;
|
||||||
import retrofit2.http.PUT;
|
import retrofit2.http.PUT;
|
||||||
|
@ -53,8 +55,9 @@ public interface API {
|
||||||
@POST("folders")
|
@POST("folders")
|
||||||
Call<List<Folder>> createFolder(@Body Map<String, Object> folderMap);
|
Call<List<Folder>> createFolder(@Body Map<String, Object> folderMap);
|
||||||
|
|
||||||
|
@FormUrlEncoded
|
||||||
@POST("feeds")
|
@POST("feeds")
|
||||||
Call<List<Feed>> createFeed(@Body Map<String, Object> feedMap);
|
Call<List<Feed>> createFeed(@Field("url") String url, @Field("folderId") Integer parentFolderID);
|
||||||
|
|
||||||
|
|
||||||
@PUT("feeds/{feedId}/rename")
|
@PUT("feeds/{feedId}/rename")
|
||||||
|
|
Loading…
Reference in a new issue