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-ade4232a-8a6e-45d8-a652-b38cf402ff13/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNSIsImVtYWlsIjoiZW1haWwtMzAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1NTF9.nsOUIihzEqXKkwft7wZ778tdiUrsDrajUqIuzXcKt5s
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-ade4232a-8a6e-45d8-a652-b38cf402ff13/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNSIsImVtYWlsIjoiZW1haWwtMzAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1NTF9.nsOUIihzEqXKkwft7wZ778tdiUrsDrajUqIuzXcKt5s" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "f91598f5-c659-400e-98a0-ddcdd3f52908",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-09-11T18:39:11Z",
  "updated_at": "2015-09-11T18:39:11Z",
  "_links": {
    "self": {
      "href": "/v3/processes/f91598f5-c659-400e-98a0-ddcdd3f52908"
    },
    "scale": {
      "href": "/v3/processes/f91598f5-c659-400e-98a0-ddcdd3f52908/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-ade4232a-8a6e-45d8-a652-b38cf402ff13"
    },
    "space": {
      "href": "/v2/spaces/842245d4-647a-43b1-8058-990467238e54"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9125f46c-8ab4-409f-9ab8-d5840c2e3679
Content-Length: 629
X-Content-Type-Options: nosniff