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

This API will be sunset on April 15, 2017.

GET /apps

List apps

Request (HTTP)

Request (curl)

Response

GET /apps/:name

Get info for an app
name
required
the app name

Request (HTTP)

Request (curl)

Response

POST /apps

Create an app
app[name]
optional
the app name
app[stack]
optional
the stack

Request (HTTP)

Request (curl)

Response

PUT /apps/:name

Rename an app
name
required
the original app name
app[name]
required
the new app name

Request (HTTP)

Request (curl)

Response

PUT /apps/:name

Transfer an app
name
required
the app name
app[transfer_owner]
required
the new app owner

Request (HTTP)

Request (curl)

Response

POST /apps/:name/server/maintenance

Toggle maintenance mode for an app
app
required
app name
maintenance_mode
required
1 for on, 0 for off

Request (HTTP)

Request (curl)

Response

DELETE /apps/:name

Destroy an app
name
required
the app name

Request (HTTP)

Request (curl)

Response