This documentation is no longer supported, please refer to the platform API reference.

This API will be sunset on April 15, 2017.

GET /apps/:app/ps

List processes for an app
app
required
the app name

Request (HTTP)

Request (curl)

Response

POST /apps/:app/ps

Run a one-off process
app
required
the app name
attach
optional
true: use rendezvous to access stdin/stdout
<blank>: stream process output to the application log
command
required
the command to run

Request (HTTP)

Request (curl)

Response

POST /apps/:app/ps/restart

Restart processes of an app
Specify either ps or type to restart only the specified processes
Leave both blank to restart the entire app
app
required
the app name
ps
optional
the name of a process to restart
type
optional
the type of process to restart

Request (HTTP)

Request (curl)

Response

POST /apps/:app/ps/stop

Stop processes of an app
Specify either ps or type to stop the specified processes
app
required
the app name
ps
optional
the name of a process to stop
type
optional
the type of process to stop

Request (HTTP)

Request (curl)

Response

POST /apps/:app/ps/scale

Scale processes of an app
app
required
the app name
type
required
the type of process to scale
qty
required
the desired number of processes of this type

Request (HTTP)

Request (curl)

Response