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 2b6f6da..5f781bb 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 @@ -9,17 +9,10 @@ @Path("/gallery") public class LayersRest { - /** - *指定したレイヤー情報(順番、枚数)を獲得するメソッド。 - * @param layerNo レイヤー番号 - * @param aid 作品id - * @param pid ページID - * @return strokeNo{pen, color, thickness, positions{x, y}} - */ @Path("/{aid}/pageMap/0/layers/0") @GET @Produces(MediaType.APPLICATION_JSON) - public void getLayersRest(@PathParam("aid") Integer aid, @FormParam("layerNo") Integer layerNo, @FormParam("pid") Integer pid) { + public void getLayersRest(@PathParam("aid") Integer aid, @QueryParam("layerNo") Integer layerNo, @QueryParam("pid") Integer pid) { /* if() {