diff --git a/src/main/java/org/ntlab/acanthus_server/resources/gallery/LayersRest.java b/src/main/java/org/ntlab/acanthus_server/resources/gallery/LayersRest.java index ab8804b..a8f5fb3 100644 --- a/src/main/java/org/ntlab/acanthus_server/resources/gallery/LayersRest.java +++ b/src/main/java/org/ntlab/acanthus_server/resources/gallery/LayersRest.java @@ -4,21 +4,27 @@ import javax.ws.rs.*; import javax.ws.rs.core.MediaType; +import java.util.ArrayList; @Component @Path("/gallery") public class LayersRest { + /* + * 指定したレイヤー情報(順番、枚数)を獲得 + * @PathParam Integer aid 作品ID + */ + @Path("/{aid}/pageMap/0/layers/0") @GET @Produces(MediaType.APPLICATION_JSON) - public void getLayersRest(@PathParam("aid") Integer aid) { - + public ArrayList getLayersRest(@PathParam("aid") Integer aid) { + return null; /* if() { } */ - throw new WebApplicationException(404); + } }