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-a8c98939-8a7d-4957-a57f-f32b27dfecb5/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5OCIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2OTF9.6MHCTNUUJpbMEbzWckEccn-uGnw0A2XZ3Q6Rz7_fIHA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-a8c98939-8a7d-4957-a57f-f32b27dfecb5/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5OCIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2OTF9.6MHCTNUUJpbMEbzWckEccn-uGnw0A2XZ3Q6Rz7_fIHA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "46fdfd31-6bde-4329-bda8-b1c003bbd1f4",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-12-22T18:28:11Z",
  "updated_at": "2015-12-22T18:28:11Z",
  "links": {
    "self": {
      "href": "/v3/processes/46fdfd31-6bde-4329-bda8-b1c003bbd1f4"
    },
    "scale": {
      "href": "/v3/processes/46fdfd31-6bde-4329-bda8-b1c003bbd1f4/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-a8c98939-8a7d-4957-a57f-f32b27dfecb5"
    },
    "space": {
      "href": "/v2/spaces/91bbc8bf-44d1-48a6-bdd4-a9fa6737521c"
    }
  }
}

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