Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

Starting an App

PUT /v3/apps/:guid/start

Request

Route

PUT /v3/apps/guid-9670e166-9cf1-4a4c-8cd3-82362011f3b5/start

Body

Name Description Default Valid Values Example Values
{

}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMyIsImVtYWlsIjoiZW1haWwtNzVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzMyMzk2MH0.8lufHjAjuqzGwvi5u4GoVXeE7HjqezFP4e_uh910AzM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-9670e166-9cf1-4a4c-8cd3-82362011f3b5/start" -d '{

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

Response

Status

200 OK

Body

{
  "guid": "guid-9670e166-9cf1-4a4c-8cd3-82362011f3b5",
  "name": "original_name",
  "desired_state": "STARTED",
  "_links": {
    "self": {
      "href": "/v3/apps/guid-9670e166-9cf1-4a4c-8cd3-82362011f3b5"
    },
    "processes": {
      "href": "/v3/apps/guid-9670e166-9cf1-4a4c-8cd3-82362011f3b5/processes"
    },
    "packages": {
      "href": "/v3/apps/guid-9670e166-9cf1-4a4c-8cd3-82362011f3b5/packages"
    },
    "space": {
      "href": "/v2/spaces/ee37a1e2-a91e-4ec1-a784-6ca7d24cc189"
    },
    "desired_droplet": {
      "href": "/v3/droplets/guid-137f020b-8d5e-4f18-a925-9a9013c84445"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6075a02f-6d7e-4b96-a16e-b614d928529e
Content-Length: 613
X-Content-Type-Options: nosniff