Home
Version 3
Processes (Experimental) API

Processes (Experimental) API

Get a Process

GET /v3/processes/:guid

Request

Route

GET /v3/processes/10e0c75b-08e6-4229-a89e-d69e7e025378

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMyIsImVtYWlsIjoiZW1haWwtMjE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjB9.dI4tonnE82YQTvQGcwqWb_efrvzfgoXqWh71sfmc-Q8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/processes/10e0c75b-08e6-4229-a89e-d69e7e025378" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMyIsImVtYWlsIjoiZW1haWwtMjE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjB9.dI4tonnE82YQTvQGcwqWb_efrvzfgoXqWh71sfmc-Q8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "10e0c75b-08e6-4229-a89e-d69e7e025378",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-10-15T23:52:40Z",
  "updated_at": "2015-10-15T23:52:40Z",
  "links": {
    "self": {
      "href": "/v3/processes/10e0c75b-08e6-4229-a89e-d69e7e025378"
    },
    "scale": {
      "href": "/v3/processes/10e0c75b-08e6-4229-a89e-d69e7e025378/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-0f5601b1-2fc5-4846-a1b6-136055e5df99"
    },
    "space": {
      "href": "/v2/spaces/7762cb25-2141-42cd-a22a-6f28a6f9b171"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: cf1b22cd-226c-4dcb-ad76-3d3fdb92c3ff
Content-Length: 628
X-Content-Type-Options: nosniff