| |
---|
| | public interface GalleryRest { |
---|
| | |
---|
| | //すべての作品情報を返す。 |
---|
| | @GET("gallery") |
---|
| | Call<Collection<AnimationJson>> getGallery(); |
---|
| | |
---|
| | Call<Collection<AnimationJson>> getGallery( |
---|
| | @Query("animationName") String animationName |
---|
| | ); |
---|
| | /* |
---|
| | @GET("gallery") |
---|
| | Call<Collection<AnimationJson>> getAnimationByAnimationName( |
---|
| | @Query("name") String name |
---|
| | ); |
---|
| | |
---|
| | */ |
---|
| | //作品の更新 |
---|
| | @FormUrlEncoded |
---|
| | @POST("gallery") |
---|
| | Call<Integer> createAnimation( |
---|
| |
---|
| | Call<Collection<AnimationJson>> getAnimationInformation( |
---|
| | @Path("aid") Integer aid |
---|
| | ); |
---|
| | |
---|
| | |
---|
| | |
---|
| | } |
---|
| | |
---|
| | |