All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.vertxup.graphic.api.GraphApi Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package cn.vertxup.graphic.api;

import io.vertx.core.json.JsonObject;
import io.vertx.tp.graphic.cv.Addr;
import io.vertx.up.annotations.Address;
import io.vertx.up.annotations.EndPoint;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.QueryParam;

@EndPoint
@Path("/api")
public interface GraphApi {

    @Path("/graphic/analyze/:key")
    @GET
    @Address(Addr.GRAPH_ANALYZE)
    JsonObject searchGraph(@PathParam("key") String key,
                           @QueryParam("graph") String graph,
                           @QueryParam("level") Integer level);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy