Home
Version 3
Processes (Experimental) API

Processes (Experimental) API

Get a Process

GET /v3/processes/:guid

Request

Route

GET /v3/processes/2d659fcf-a1dc-4c75-b5d7-41ce4394270e

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3NSIsImVtYWlsIjoiZW1haWwtMTgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODl9.tRElaYs3URHS1vk893fX8-UYuh130Om9BJgbIJW2xMw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/processes/2d659fcf-a1dc-4c75-b5d7-41ce4394270e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3NSIsImVtYWlsIjoiZW1haWwtMTgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODl9.tRElaYs3URHS1vk893fX8-UYuh130Om9BJgbIJW2xMw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "2d659fcf-a1dc-4c75-b5d7-41ce4394270e",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-12-22T18:28:09Z",
  "updated_at": "2015-12-22T18:28:09Z",
  "links": {
    "self": {
      "href": "/v3/processes/2d659fcf-a1dc-4c75-b5d7-41ce4394270e"
    },
    "scale": {
      "href": "/v3/processes/2d659fcf-a1dc-4c75-b5d7-41ce4394270e/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-5144790b-ed07-4990-a2ea-7255774b7fb6"
    },
    "space": {
      "href": "/v2/spaces/25d83125-ddf0-4649-9f4a-1350ea4de846"
    }
  }
}

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
X-Runtime: 0.012570
Content-Length: 628