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-af90ddb5-e116-49c2-a381-c0cf2deb83ce/processes/web

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1MzV9.iZCvwVfrWX1qxCuGdf31N5p5XKa6vX9C8Grmx0X_oas
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-af90ddb5-e116-49c2-a381-c0cf2deb83ce/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1MzV9.iZCvwVfrWX1qxCuGdf31N5p5XKa6vX9C8Grmx0X_oas" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "69e02dd4-6d50-4e9c-848c-1144b4de91ab",
  "type": "web",
  "command": null,
  "instances": 1,
  "memory_in_mb": 1024,
  "disk_in_mb": 1024,
  "created_at": "2015-11-30T23:38:55Z",
  "updated_at": "2015-11-30T23:38:55Z",
  "links": {
    "self": {
      "href": "/v3/processes/69e02dd4-6d50-4e9c-848c-1144b4de91ab"
    },
    "scale": {
      "href": "/v3/processes/69e02dd4-6d50-4e9c-848c-1144b4de91ab/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-af90ddb5-e116-49c2-a381-c0cf2deb83ce"
    },
    "space": {
      "href": "/v2/spaces/af2aa91c-679a-4e96-909d-3496771b532b"
    }
  }
}

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