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-429cb824-ba87-487a-b828-410037b2a68b/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NyIsImVtYWlsIjoiZW1haWwtMTMzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDR9.z0ltZ5YTWS6S6o6VewrWy0ZoKcNJW7FBgQFbDb9Flgg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-429cb824-ba87-487a-b828-410037b2a68b/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NyIsImVtYWlsIjoiZW1haWwtMTMzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDR9.z0ltZ5YTWS6S6o6VewrWy0ZoKcNJW7FBgQFbDb9Flgg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "f08f78d3-88ed-4420-9243-c745072ad9f8",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-08-31T21:50:04Z",
  "updated_at": "2015-08-31T21:50:04Z",
  "_links": {
    "self": {
      "href": "/v3/processes/f08f78d3-88ed-4420-9243-c745072ad9f8"
    },
    "scale": {
      "href": "/v3/processes/f08f78d3-88ed-4420-9243-c745072ad9f8/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-429cb824-ba87-487a-b828-410037b2a68b"
    },
    "space": {
      "href": "/v2/spaces/2655aee7-aa1f-4cdd-a5e6-c1bf4607f493"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 710899c7-f1d7-4670-9b97-2885de96b82f
Content-Length: 629
X-Content-Type-Options: nosniff