@Beta
@Path(value="OS-KSADM/roles")
public interface RoleAdminApi
@Named(value="role:list") @GET @Consumes(value="application/json") com.google.common.collect.FluentIterable<? extends Role> list()
@Named(value="role:create") @POST @Produces(value="application/json") @Nullable Role create(String name)
@Named(value="role:get") @GET @Path(value="/{id}") @Nullable Role get(@PathParam(value="id") String roleId)
@Named(value="role:delete") @DELETE @Path(value="/{id}") @Consumes boolean delete(@PathParam(value="id") String roleId)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.