Merge pull request #39 from nitta-lab-2021/gallery
GalleryRestの修正をしました。
commit 3bf43960f4c22db7b4a0bb77fc162a20aebdb7ed
2 parents 508f1e0 + cb3ecd4
鈴木健太 authored on 16 Jun 2021
Showing 1 changed file
View
12
app/src/main/java/org/ntlab/acanthus_client/resources/gallery/GalleryRest.java
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
);
 
 
 
}