Package cn.vertxup.integration.api
Interface DirAgent
@EndPoint
@Path("/api")
public interface DirAgent
Here the directory support `CRUD` on single record only, it means that
1. No Batch deleting processing
2. But when you do modification/deleting on a directory that contains sub-dir, the system should
update `storePath` and rename instead
- Author:
- Lang
-
Method Summary
-
Method Details
-
create
@POST @Path("/i-directory") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7/I-DIRECTORY/ADD") io.vertx.core.json.JsonObject create(@BodyParam io.vertx.core.json.JsonObject body) -
update
@PUT @Path("/i-directory/:key") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7/I-DIRECTORY/UPDATE") io.vertx.core.json.JsonObject update(@PathParam("key") String key, @BodyParam io.vertx.core.json.JsonObject body) -
remove
@DELETE @Path("/i-directory/:key") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7/I-DIRECTORY/DELETE") io.vertx.core.json.JsonObject remove(@PathParam("key") String key)
-