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-7c566646-20db-4b18-a866-0abef02e10c5/processes/web

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNyIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzV9.PESnCgEsPqQEywC6hNSbi2Mo5fAH7-RRLSz_bKjIQSk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-7c566646-20db-4b18-a866-0abef02e10c5/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNyIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzV9.PESnCgEsPqQEywC6hNSbi2Mo5fAH7-RRLSz_bKjIQSk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "c591a3a5-3c02-46c3-85ab-9e36d4ac777b",
  "type": "web",
  "command": null,
  "instances": 1,
  "created_at": "2015-05-07T23:37:15Z",
  "updated_at": "2015-05-07T23:37:15Z",
  "_links": {
    "self": {
      "href": "/v3/processes/c591a3a5-3c02-46c3-85ab-9e36d4ac777b"
    },
    "app": {
      "href": "/v3/apps/guid-7c566646-20db-4b18-a866-0abef02e10c5"
    },
    "space": {
      "href": "/v2/spaces/f308543d-44ad-4cdd-ace0-b13dc750c077"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d15e3337-d25a-4561-a873-c5be2cdbb111
Content-Length: 465
X-Content-Type-Options: nosniff