Interface WorkflowsResource
public interface WorkflowsResource
- Since:
- Keycloak server 26.4.0. All the child endpoints are also available since that version
This endpoint including all the child endpoints require feature
Profile.Feature.WORKFLOWSto be enabled. Note that feature is preview in 26.5.0 and there might be backwards incompatible changes in the future versions of admin-client and Keycloak server
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsecreate(WorkflowRepresentation representation) getScheduledWorkflows(String resourceId) list()jakarta.ws.rs.core.ResponseMigrate scheduled resources from one step to another
-
Method Details
-
create
@POST @Consumes({"application/json","application/yaml"}) jakarta.ws.rs.core.Response create(WorkflowRepresentation representation) -
list
-
list
-
getScheduledWorkflows
@Path("scheduled/{resource-id}") @GET @Produces("application/json") List<WorkflowRepresentation> getScheduledWorkflows(@PathParam("resource-id") String resourceId) -
workflow
-
migrate
@POST @Path("migrate") jakarta.ws.rs.core.Response migrate(@QueryParam("from") String stepFrom, @QueryParam("to") String stepTo) Migrate scheduled resources from one step to another- Parameters:
stepFrom- A String representing the id of the step to migrate fromstepTo- A String representing the id of the step to migrate to- Returns:
- No content response (status 204) if everything is OK. Error response (status 400) otherwise
- Since:
- Keycloak server 26.6.0
-