Interface ServiceAdminApi
@Beta
@Consumes("application/json")
@Path("OS-KSADM/services")
public interface ServiceAdminApi
Provides access to Service Administration actions.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new Serviceboolean
Deletes a serviceGets the servicelist()
Retrieve the list of serviceslist
(PaginationOptions options)
-
Method Details
-
list
Retrieve the list of services- Returns:
- the list of services
-
list
-
create
@Named("service:create") @POST @Nullable Service create(String name, String type, String description) Creates a new Service- Returns:
- the new Service
-
get
@Named("service:get") @GET @Path("/{serviceId}") @Nullable Service get(@PathParam("serviceId") String serviceId) Gets the service- Returns:
- the service
-
delete
Deletes a service- Returns:
- true if successful
-