Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

Get a Process from an App

GET /v3/apps/:guid/processes/:type

Request

Route

GET /v3/apps/guid-fb89a683-6000-4202-a42c-5bdbf293a3a2/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODZ9.y8iOL8f53s1Iy0mvGx-1tHwvDMx9RymPolOQooKuCsU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-fb89a683-6000-4202-a42c-5bdbf293a3a2/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODZ9.y8iOL8f53s1Iy0mvGx-1tHwvDMx9RymPolOQooKuCsU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "418f8e6f-5ba8-4351-9fa4-890371d51191",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-07-06T23:23:06Z",
  "updated_at": "2015-07-06T23:23:06Z",
  "_links": {
    "self": {
      "href": "/v3/processes/418f8e6f-5ba8-4351-9fa4-890371d51191"
    },
    "scale": {
      "href": "/v3/processes/418f8e6f-5ba8-4351-9fa4-890371d51191/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-fb89a683-6000-4202-a42c-5bdbf293a3a2"
    },
    "space": {
      "href": "/v2/spaces/cb5e1ad0-e01a-4798-b715-d2725d0d9a5f"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 572ce3d1-0124-4c6c-8b19-89b1c60cb4c4
Content-Length: 629
X-Content-Type-Options: nosniff