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-4928488c-6141-4dd5-a90b-63633e1684ff/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtNzhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODU5OTQyOX0.AHaBk1aOXnmSqK_RPeVoDxvGNia42FIFEG5VF2Wpgsc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-4928488c-6141-4dd5-a90b-63633e1684ff/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtNzhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODU5OTQyOX0.AHaBk1aOXnmSqK_RPeVoDxvGNia42FIFEG5VF2Wpgsc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "63efd526-0fe6-4f8d-bfe2-e167202e9ef9",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2016-03-14T22:30:29Z",
  "updated_at": "2016-03-14T22:30:29Z",
  "links": {
    "self": {
      "href": "/v3/processes/63efd526-0fe6-4f8d-bfe2-e167202e9ef9"
    },
    "scale": {
      "href": "/v3/processes/63efd526-0fe6-4f8d-bfe2-e167202e9ef9/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-4928488c-6141-4dd5-a90b-63633e1684ff"
    },
    "space": {
      "href": "/v2/spaces/2010b5a7-8dcf-4a6d-824a-3f0ac074aea2"
    }
  }
}

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