Update arguments of the failed step and retry it

post

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/deploymentProcedureInstances/{deploymentProcedureInstanceId}/actions/updateAndRetryStep

Update arguments of the failed step and retrying failed steps of deployment procedure instance latest execution if execution Id is not specified and if execution id is specified, then particular execution id steps will be retried.It is equivalent to update_and_retry_step in emcli.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Includes stateId, execution Id and args.
Show Source
  • The format of the arguments are name value pairs. Name and value are separated by colon and each pair is separated by semicolon
    Example: command:ls
  • Represents executionId of a deployment procedure instance.
    Example: CC1871802C4343A3E053E00F4B640972
  • stateId of the failed step.
    Example: CC1871802C4343A3E053E00F4B640973
Back to Top

Response

Supported Media Types

202 Response

A request to update the arguments and retry the failed steps was accepted
Headers
  • URL to get the status of update and retry step action .
Body ()
Root Schema : schema
Type: object
Show Source
  • code
    Example: 202
  • Rest Api message for update and retry step.
    Example: A request to update the arguments and retry the failed steps was accepted

400 Response

Bad Request. The payload is null or missing some parameters
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

Unauthorized. The user does not have permissions to perform the requested operation
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

403 Response

Forbidden. The user is forbidden to perform the requested operation
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

404 Response

Not Found. The requested REST API URL is not found.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

Internal Server Error. Exception in execution of REST API.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

Service Unavailable. The server is unable to process the request.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top