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-7a8b81b7-99c1-4e45-8d62-fe84e0011bef/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjR9.OkFk5RlVA8Oo-x5yn6f7wmOUkDPScoKsFgVt-y5rvnQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-7a8b81b7-99c1-4e45-8d62-fe84e0011bef/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjR9.OkFk5RlVA8Oo-x5yn6f7wmOUkDPScoKsFgVt-y5rvnQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "de5759fd-0038-437f-9f8f-0c6336bbd4df",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-10-15T23:52:44Z",
  "updated_at": "2015-10-15T23:52:44Z",
  "links": {
    "self": {
      "href": "/v3/processes/de5759fd-0038-437f-9f8f-0c6336bbd4df"
    },
    "scale": {
      "href": "/v3/processes/de5759fd-0038-437f-9f8f-0c6336bbd4df/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-7a8b81b7-99c1-4e45-8d62-fe84e0011bef"
    },
    "space": {
      "href": "/v2/spaces/1a81cc26-1cd5-491d-818c-5a6521b38352"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 65de4fc3-e41a-49b4-9a8b-76e5fbf819ed
Content-Length: 628
X-Content-Type-Options: nosniff