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-19879291-e45e-4745-9ef3-d55756b0ed07/processes/web

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOCIsImVtYWlsIjoiZW1haWwtMTM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDh9.PvoUb2rf3TLYH4pp1quQ1Q109p2eWGrGUWfeJCPofEo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-19879291-e45e-4745-9ef3-d55756b0ed07/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOCIsImVtYWlsIjoiZW1haWwtMTM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDh9.PvoUb2rf3TLYH4pp1quQ1Q109p2eWGrGUWfeJCPofEo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "dcfeee77-482d-403b-af98-62a5607d370b",
  "type": "web",
  "command": null,
  "instances": 1,
  "created_at": "2015-06-04T00:05:08Z",
  "updated_at": "2015-06-04T00:05:08Z",
  "_links": {
    "self": {
      "href": "/v3/processes/dcfeee77-482d-403b-af98-62a5607d370b"
    },
    "scale": {
      "href": "/v3/processes/dcfeee77-482d-403b-af98-62a5607d370b/scale",
      "method": "PUT"
    },
    "app": {
      "href": "/v3/apps/guid-19879291-e45e-4745-9ef3-d55756b0ed07"
    },
    "space": {
      "href": "/v2/spaces/afc23f94-9a53-4fca-bf2d-f64c0af7810e"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a1b3e808-e1f6-4019-a3b4-94222b14348d
Content-Length: 583
X-Content-Type-Options: nosniff