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-1822d851-321c-449f-bb23-538ae1321ec7/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MyIsImVtYWlsIjoiZW1haWwtMTk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzl9.xKiThNghh97hTl7sdksvK8dB95HYpf-CiUkcvWuDryw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-1822d851-321c-449f-bb23-538ae1321ec7/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MyIsImVtYWlsIjoiZW1haWwtMTk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzl9.xKiThNghh97hTl7sdksvK8dB95HYpf-CiUkcvWuDryw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "f4e4dc95-3dca-4b6f-a2df-2c571c1d771a",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2016-02-19T02:03:59Z",
  "updated_at": "2016-02-19T02:03:59Z",
  "links": {
    "self": {
      "href": "/v3/processes/f4e4dc95-3dca-4b6f-a2df-2c571c1d771a"
    },
    "scale": {
      "href": "/v3/processes/f4e4dc95-3dca-4b6f-a2df-2c571c1d771a/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-1822d851-321c-449f-bb23-538ae1321ec7"
    },
    "space": {
      "href": "/v2/spaces/2c979b5a-796b-4142-a991-7caf61a20783"
    }
  }
}

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