Confirm the blue-green release of an application.

Request information

Request line (RequestLine)

POST /projects/{name}/confirm-update? force=(true or false) HTTP/1.1

Request line parameter (URI Param)

Name Type Required Description
name string Yes Application name.
confirm-update bool Yes With true passed, the route weights of the current application and the old application are set as 100% and 0% respectively when the rollback is finished.  With false passed, the weight settings are ignored when the rollback is finished. The route weight is subject to the weight settings of the customers.

Special request header (RequestHead)

None.

Request body (RequestBody)

None.

Request body explanation

None.

Response information

Response line (ResponseLine)

HTTP/1.1 202 Accepted

Special response header (ResponseHead)

None.

Response body (ResponseBody)

None.

Example

Request example

POST /projects/test_01/confirm-update? force=true HTTP/1.1

Response example

HTTP/1.1 202 Accepted