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-3461e184-b5c7-4929-9cc2-d3469d31f7db/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMyIsImVtYWlsIjoiZW1haWwtMjM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzl9.40NcOZv-GqaFMWhpdHm3GOOA3xl7bYzgdEgvU_t1--M
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-3461e184-b5c7-4929-9cc2-d3469d31f7db/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMyIsImVtYWlsIjoiZW1haWwtMjM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzl9.40NcOZv-GqaFMWhpdHm3GOOA3xl7bYzgdEgvU_t1--M" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "f92a23d4-ef48-4341-9968-c2e6799c4c3f",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2016-01-19T19:41:19Z",
  "updated_at": "2016-01-19T19:41:19Z",
  "links": {
    "self": {
      "href": "/v3/processes/f92a23d4-ef48-4341-9968-c2e6799c4c3f"
    },
    "scale": {
      "href": "/v3/processes/f92a23d4-ef48-4341-9968-c2e6799c4c3f/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-3461e184-b5c7-4929-9cc2-d3469d31f7db"
    },
    "space": {
      "href": "/v2/spaces/6db1e493-db02-4b7a-856b-3bac6849d436"
    }
  }
}

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