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-d44bb38e-80d6-4f1e-8960-def3cf60fe67/processes/web

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNyIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MjJ9.JLz6DyCw5OZXa2_zYZpdhZB_rZr90okhPRKNxOlag7E
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-d44bb38e-80d6-4f1e-8960-def3cf60fe67/processes/web" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNyIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MjJ9.JLz6DyCw5OZXa2_zYZpdhZB_rZr90okhPRKNxOlag7E" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "a6bfc72e-2910-4e24-b157-c5fef1a4c29b",
  "type": "web",
  "command": null,
  "instances": 1,
  "created_at": "2015-05-15T16:53:42Z",
  "updated_at": "2015-05-15T16:53:42Z",
  "_links": {
    "self": {
      "href": "/v3/processes/a6bfc72e-2910-4e24-b157-c5fef1a4c29b"
    },
    "app": {
      "href": "/v3/apps/guid-d44bb38e-80d6-4f1e-8960-def3cf60fe67"
    },
    "space": {
      "href": "/v2/spaces/a226587a-5e04-4aed-8818-7cb8b968eaa1"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a7de61d7-daeb-4c6a-ada2-4041f3c30c66
Content-Length: 465
X-Content-Type-Options: nosniff