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-5b465335-857a-4cd2-90b7-7b3d9b012fec/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTR9.LnbKlwwbGX4GUV7Br82yRjHA8SXM28T4SPOrAWMgzpo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-5b465335-857a-4cd2-90b7-7b3d9b012fec/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3OCIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTR9.LnbKlwwbGX4GUV7Br82yRjHA8SXM28T4SPOrAWMgzpo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "189e4542-ea0d-43e5-9386-48a525c78516",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-08-06T00:36:53Z",
  "updated_at": "2015-08-06T00:36:53Z",
  "_links": {
    "self": {
      "href": "/v3/processes/189e4542-ea0d-43e5-9386-48a525c78516"
    },
    "scale": {
      "href": "/v3/processes/189e4542-ea0d-43e5-9386-48a525c78516/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-5b465335-857a-4cd2-90b7-7b3d9b012fec"
    },
    "space": {
      "href": "/v2/spaces/0f8df7fb-e1cf-4402-9181-8e4c5fb0a62c"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 771a0d3e-ed1c-4cb6-a7e8-58c87af582d7
Content-Length: 629
X-Content-Type-Options: nosniff