Interface RegionApi


@Consumes("application/json") @Path("/regions") public interface RegionApi
Provides access to the Keystone Region API.
  • Method Details

    • list

      @Named("regions:list") @GET List<Region> list()
    • get

      @Named("regions:get") @GET @Path("/{id}") Region get(@PathParam("id") String id)
    • create

      @Named("regions:create") @POST Region create(String id, @Nullable String description, @Nullable String parentId)
    • update

      @Named("regions:update") @Path("/{id}") Region update(@PathParam("id") String id, @Nullable String description, @Nullable String parentId)
    • delete

      @Named("regions:delete") @DELETE @Path("/{id}") boolean delete(@PathParam("id") String id)