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-f558b1b6-4fad-4691-8b5d-4c2f5c56e3bc/processes/web

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNiIsImVtYWlsIjoiZW1haWwtMTg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTZ9.uhQq7Z71ukXClorN_Wyjfpz4sjYRTh-yL1B3KAPNBqc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-f558b1b6-4fad-4691-8b5d-4c2f5c56e3bc/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNiIsImVtYWlsIjoiZW1haWwtMTg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTZ9.uhQq7Z71ukXClorN_Wyjfpz4sjYRTh-yL1B3KAPNBqc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "3b5cbcc5-2830-4717-ba6a-ca430d35e09f",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-06-16T23:40:56Z",
  "updated_at": "2015-06-16T23:40:56Z",
  "_links": {
    "self": {
      "href": "/v3/processes/3b5cbcc5-2830-4717-ba6a-ca430d35e09f"
    },
    "scale": {
      "href": "/v3/processes/3b5cbcc5-2830-4717-ba6a-ca430d35e09f/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-f558b1b6-4fad-4691-8b5d-4c2f5c56e3bc"
    },
    "space": {
      "href": "/v2/spaces/dece326f-a708-4c55-aa3e-c8e072bd07f7"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b80a49a6-c4fd-4176-a5f1-b552cf7f411f
Content-Length: 629
X-Content-Type-Options: nosniff