Interface ServiceAdminApi


@Beta @Consumes("application/json") @Path("OS-KSADM/services") public interface ServiceAdminApi
Provides access to Service Administration actions.
  • Method Details

    • list

      @Named("service:list") @GET PagedIterable<Service> list()
      Retrieve the list of services

      Returns:
      the list of services
    • list

      @Named("service:list") @GET PaginatedCollection<Service> list(PaginationOptions options)
    • 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

      @Named("service:delete") @DELETE @Path("/{id}") boolean delete(@PathParam("id") String serviceId)
      Deletes a service
      Returns:
      true if successful