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-4bf37564-0e9b-4666-af59-9038340673d2/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NiIsImVtYWlsIjoiZW1haWwtMzIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NzZ9.NHRJojCf3Sk2i-jKeCDDb90PZbV8Lxc4mq3ZdW3TaIQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-4bf37564-0e9b-4666-af59-9038340673d2/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NiIsImVtYWlsIjoiZW1haWwtMzIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NzZ9.NHRJojCf3Sk2i-jKeCDDb90PZbV8Lxc4mq3ZdW3TaIQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "eacfd4a6-7e06-43be-b35c-1d744dc18579",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-11-13T17:02:56Z",
  "updated_at": "2015-11-13T17:02:56Z",
  "links": {
    "self": {
      "href": "/v3/processes/eacfd4a6-7e06-43be-b35c-1d744dc18579"
    },
    "scale": {
      "href": "/v3/processes/eacfd4a6-7e06-43be-b35c-1d744dc18579/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-4bf37564-0e9b-4666-af59-9038340673d2"
    },
    "space": {
      "href": "/v2/spaces/f9cc2a12-1ecc-46cb-83ae-16ef0df7bdbe"
    }
  }
}

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