Package cn.vertxup.ambient.api
Interface DatumAgent
@EndPoint
@Path("/api")
public interface DatumAgent
-
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.json.JsonArraycategoryByType(String appId, String type, Boolean includeLeaf) io.vertx.core.json.JsonObjectfetchCategories(String appId, io.vertx.core.json.JsonArray types) io.vertx.core.json.JsonArrayfetchCategory(String appId, String type, String code) io.vertx.core.json.JsonArrayfetchTabular(String appId, String type, String code) io.vertx.core.json.JsonObjectfetchTabulars(String appId, io.vertx.core.json.JsonArray types) io.vertx.core.json.JsonArraytabularByType(String appId, String type)
-
Method Details
-
categoryByType
@Path("/type/categories/{type}") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-CATEGORY/TYPE") io.vertx.core.json.JsonArray categoryByType(@HeaderParam("X-App-Id") String appId, @PathParam("type") String type, @QueryParam("leaf") @DefaultValue("true") Boolean includeLeaf) -
fetchCategories
@Path("/types/categories") @POST @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-CATEGORY/TYPES") io.vertx.core.json.JsonObject fetchCategories(@HeaderParam("X-App-Id") String appId, @BodyParam io.vertx.core.json.JsonArray types) -
fetchCategory
@Path("/{type}/category/{code}") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-CATEGORY/CODE") io.vertx.core.json.JsonArray fetchCategory(@HeaderParam("X-App-Id") String appId, @PathParam("type") String type, @PathParam("code") String code) -
tabularByType
@Path("/type/tabulars/{type}") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-TABULAR/TYPE") io.vertx.core.json.JsonArray tabularByType(@HeaderParam("X-App-Id") String appId, @PathParam("type") String type) -
fetchTabulars
@Path("/types/tabulars") @POST @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-TABULAR/TYPES") io.vertx.core.json.JsonObject fetchTabulars(@HeaderParam("X-App-Id") String appId, @BodyParam io.vertx.core.json.JsonArray types) -
fetchTabular
@Path("/{type}/tabular/{code}") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03c9\u03bd/X-TABULAR/CODE") io.vertx.core.json.JsonArray fetchTabular(@HeaderParam("X-App-Id") String appId, @PathParam("type") String type, @PathParam("code") String code)
-