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-27d868be-6ea1-4dae-b748-fbceb18b7f57/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk3IiwiZW1haWwiOiJlbWFpbC02NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTI0fQ.aG3Eof4n8yRmRgm2obe0RBDG2ERGCa1T0bgt78JB2VA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-27d868be-6ea1-4dae-b748-fbceb18b7f57/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk3IiwiZW1haWwiOiJlbWFpbC02NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTI0fQ.aG3Eof4n8yRmRgm2obe0RBDG2ERGCa1T0bgt78JB2VA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "dd2998f8-c842-4281-b92b-e85625677c76",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-10-07T00:35:24Z",
  "updated_at": "2015-10-07T00:35:24Z",
  "links": {
    "self": {
      "href": "/v3/processes/dd2998f8-c842-4281-b92b-e85625677c76"
    },
    "scale": {
      "href": "/v3/processes/dd2998f8-c842-4281-b92b-e85625677c76/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-27d868be-6ea1-4dae-b748-fbceb18b7f57"
    },
    "space": {
      "href": "/v2/spaces/bfb6da5c-91cd-4471-a706-638033bf5103"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 346c9209-2f32-4aef-9c9d-760e23fcc36e
Content-Length: 628
X-Content-Type-Options: nosniff