Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

Starting an App

PUT /v3/apps/:guid/start

Request

Route

PUT /v3/apps/guid-74066244-6b82-4a7f-b676-67e15565f594/start

Body

Name Description Default Valid Values Example Values
{

}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MSIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NjN9.VxCDlIR_9O1EfKppVLogTEjBByRYqnTHhLxIkoQaqxo
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-74066244-6b82-4a7f-b676-67e15565f594/start" -d '{

}' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MSIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NjN9.VxCDlIR_9O1EfKppVLogTEjBByRYqnTHhLxIkoQaqxo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-74066244-6b82-4a7f-b676-67e15565f594",
  "name": "original_name",
  "desired_state": "STARTED",
  "_links": {
    "self": {
      "href": "/v3/apps/guid-74066244-6b82-4a7f-b676-67e15565f594"
    },
    "processes": {
      "href": "/v3/apps/guid-74066244-6b82-4a7f-b676-67e15565f594/processes"
    },
    "packages": {
      "href": "/v3/apps/guid-74066244-6b82-4a7f-b676-67e15565f594/packages"
    },
    "space": {
      "href": "/v2/spaces/5ddb12c1-dd67-42ff-b97c-03e36f392d04"
    },
    "desired_droplet": {
      "href": "/v3/droplets/guid-7131fe07-e9f7-495f-b904-581b6a59950a"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7dd67e55-607f-4177-ba0d-8ac8a5a018e2
Content-Length: 613
X-Content-Type-Options: nosniff