diff --git a/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java b/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java index c6e9d72..bdf6dab 100644 --- a/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java +++ b/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java @@ -108,7 +108,7 @@ // 全座標値を取得する // @PathParam Integer aid 作品のID // @PathParam Integer strokeNo 線番号 - @Path("/{aid}/pageMap/0/layers/0/strokes/{strokeNo}/position") + @Path("/{aid}/pageMap/0/layers/0/strokes/{strokeNo}/positions") @GET @Produces(MediaType.APPLICATION_JSON) public ArrayList getPositions(@PathParam("aid") Integer aid, @PathParam("strokeNo") Integer strokeNo) { @@ -130,7 +130,7 @@ // @PathParam Integer strokeNo 線番号 // @FormParam Integer x x座標 // @FormParam Integer y y座標 - @Path("/{aid}/pageMap/0/layers/0/strokes/{strokeNo}/position") + @Path("/{aid}/pageMap/0/layers/0/strokes/{strokeNo}/positions") @POST @Produces(MediaType.APPLICATION_JSON) public Integer addPositions(@PathParam("aid") Integer aid, @PathParam("strokeNo") Integer strokeNo, @FormParam("x") Float x, @FormParam("y") Float y) {