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-cc7f8382-e230-4484-8c93-b2f67a9dee9b/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwOSIsImVtYWlsIjoiZW1haWwtMjgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzN9.8TMBom9tPUckiYyq4kYHCOh8i9Xsl5ZE2JK0GZj7mXA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-cc7f8382-e230-4484-8c93-b2f67a9dee9b/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwOSIsImVtYWlsIjoiZW1haWwtMjgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzN9.8TMBom9tPUckiYyq4kYHCOh8i9Xsl5ZE2JK0GZj7mXA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "36815434-f608-44e5-a122-b81b923d8c63",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2016-01-26T22:20:33Z",
  "updated_at": "2016-01-26T22:20:33Z",
  "links": {
    "self": {
      "href": "/v3/processes/36815434-f608-44e5-a122-b81b923d8c63"
    },
    "scale": {
      "href": "/v3/processes/36815434-f608-44e5-a122-b81b923d8c63/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-cc7f8382-e230-4484-8c93-b2f67a9dee9b"
    },
    "space": {
      "href": "/v2/spaces/e9d413f1-4e26-494f-abdd-7e3a9f857907"
    }
  }
}

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