edit-icon download-icon

Stop an application

Last Updated: Jan 09, 2018

Description

Stop all the containers in an application in a reverse order of service dependencies.

Request information

Request line (RequestLine)

  1. POST /projects/{name}/stop?t={timeout} HTTP/1.1

Request line parameter (URI Param)

Name Type Required? Description
name string Yes The application name.
timeout int No The timeout time (in seconds) for stopping containers. The default value is 10.

Special request header (RequestHead)

None

Request body (RequestBody)

None

Response information

Response line (ResponseLine)

  1. HTTP/1.1 200 OK

Special response header (ResponseHead)

None

Response body (ResponseBody)

None

Example

Request example

  1. POST /projects/test/stop HTTP/1.1

Return example

  1. HTTP/1.1 200 OK
Thank you! We've received your feedback.