Home
Version 3
Processes (Experimental) API

Processes (Experimental) API

Get a Process

GET /v3/processes/:guid

Request

Route

GET /v3/processes/f01ff10f-7115-4452-b537-21aaa2af6d5e

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMyIsImVtYWlsIjoiZW1haWwtMzAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NzR9.e29uCLSeU6A-dgKGbl_NMZWwpBpFY_1tEh9RIYXM8FI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/processes/f01ff10f-7115-4452-b537-21aaa2af6d5e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMyIsImVtYWlsIjoiZW1haWwtMzAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NzR9.e29uCLSeU6A-dgKGbl_NMZWwpBpFY_1tEh9RIYXM8FI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "f01ff10f-7115-4452-b537-21aaa2af6d5e",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-11-13T17:02:54Z",
  "updated_at": "2015-11-13T17:02:54Z",
  "links": {
    "self": {
      "href": "/v3/processes/f01ff10f-7115-4452-b537-21aaa2af6d5e"
    },
    "scale": {
      "href": "/v3/processes/f01ff10f-7115-4452-b537-21aaa2af6d5e/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-047d6339-94a4-4dfd-86b9-ec6a94921294"
    },
    "space": {
      "href": "/v2/spaces/9403c364-4015-420a-a11b-e4349513769e"
    }
  }
}

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.016754
Content-Length: 628