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-7604164c-f059-42c6-9490-42af19f3f9a4/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNSIsImVtYWlsIjoiZW1haWwtMTYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5ODF9.jEAdMmIJ5sKMvdm2JNu62xRgnl6KNGUYU1QGOebEyAA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-7604164c-f059-42c6-9490-42af19f3f9a4/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNSIsImVtYWlsIjoiZW1haWwtMTYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5ODF9.jEAdMmIJ5sKMvdm2JNu62xRgnl6KNGUYU1QGOebEyAA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "d2f0b965-7cd4-49ce-819f-3e1197506632",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2016-01-13T17:29:41Z",
  "updated_at": "2016-01-13T17:29:41Z",
  "links": {
    "self": {
      "href": "/v3/processes/d2f0b965-7cd4-49ce-819f-3e1197506632"
    },
    "scale": {
      "href": "/v3/processes/d2f0b965-7cd4-49ce-819f-3e1197506632/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-7604164c-f059-42c6-9490-42af19f3f9a4"
    },
    "space": {
      "href": "/v2/spaces/9d9409f8-8d4e-4e90-abcc-dc413640863e"
    }
  }
}

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