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-8418b529-77f2-48c1-9afa-09a98b5eb3d7/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4OSIsImVtYWlsIjoiZW1haWwtMjIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTR9.cIk6TmHuq73zdMcsXdlpjoK3UyuXId4MQ3npiqt0Ekw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-8418b529-77f2-48c1-9afa-09a98b5eb3d7/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4OSIsImVtYWlsIjoiZW1haWwtMjIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTR9.cIk6TmHuq73zdMcsXdlpjoK3UyuXId4MQ3npiqt0Ekw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "0987f123-6b88-43ee-a9af-e06a12f1fd14",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-10-13T17:31:54Z",
  "updated_at": "2015-10-13T17:31:54Z",
  "links": {
    "self": {
      "href": "/v3/processes/0987f123-6b88-43ee-a9af-e06a12f1fd14"
    },
    "scale": {
      "href": "/v3/processes/0987f123-6b88-43ee-a9af-e06a12f1fd14/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-8418b529-77f2-48c1-9afa-09a98b5eb3d7"
    },
    "space": {
      "href": "/v2/spaces/447dca24-9444-473f-9a89-659087b21147"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4845c8ff-50e4-4a3c-93d5-fb641d2faf33
Content-Length: 628
X-Content-Type-Options: nosniff