Back to project page antigravity.
The source code is released under:
GNU General Public License
If you think the Android project antigravity listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.floatboth.antigravity.net; //from w ww . j av a 2 s .c o m import retrofit.http.*; import retrofit.mime.*; import com.floatboth.antigravity.data.*; public interface ADNClient { @GET("/users/me/files?include_incomplete=0") ADNResponse<File.List> myFiles(@Query("access_token") String accessToken, @Query("before_id") String beforeId); @PUT("/files/{id}") ADNResponse<File> updateFile(@Query("access_token") String accessToken, @Path("id") String id, @Body File file); @DELETE("/files/{id}") ADNResponse<File> deleteFile(@Query("access_token") String accessToken, @Path("id") String id); @Multipart @POST("/files") ADNResponse<File> uploadFile(@Query("access_token") String accessToken, @Part("content") TypedContent content, @Part("type") TypedString type, @Part("public") TypedString isPublic); @POST("/posts") ADNResponse<Post> createPost(@Query("access_token") String accessToken, @Body Post post); @GET("/config") ADNResponse<Configuration> getConfiguration(@Query("access_token") String accessToken); }