@Consumes(value="application/json")
@Path(value="/regions")
public interface RegionApi
@Named(value="regions:get") @GET @Path(value="/{id}") Region get(@PathParam(value="id") String id)
@Named(value="regions:create") @POST Region create(String id, @Nullable String description, @Nullable String parentId)
@Named(value="regions:update") @Path(value="/{id}") Region update(@PathParam(value="id") String id, @Nullable String description, @Nullable String parentId)
@Named(value="regions:delete") @DELETE @Path(value="/{id}") boolean delete(@PathParam(value="id") String id)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.