Finalize or Abort Push Request

put

/api/v1/bots/{botId}/dynamicEntities/{entityId}/pushRequests/{pushRequestId}/{action}

Use this operation to finalize or abort the push request.
  • Set the {action} to DONE to close an open push request and then start training the entity.
  • Set the {action} to ABORT to abort the push request. You can't abort a push request if it is training or it has completed.
.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

202 Response

Action successfully completed.

404 Response

The request can't be performed because the specified skill, entity, or push request doesn't exist.
Body ()
Root Schema : RestError
Type: object
Show Source
Nested Schema : o:errorDetails
Type: array
Show Source
Nested Schema : Location
Type: object
Show Source
Nested Schema : Context
Type: object
Show Source

412 Response

Can't perform the action because the push request is not INPROGRESS.
Body ()
Root Schema : RestError
Type: object
Show Source
Nested Schema : o:errorDetails
Type: array
Show Source
Nested Schema : Location
Type: object
Show Source
Nested Schema : Context
Type: object
Show Source
Back to Top