Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-77b7b5fc-cdfa-4a76-921e-cd9cd88dd352/processes?process_guid=ea20d8b4-f24a-4d86-9c40-d5970098f819

Parameters

Name Description Valid Values Example Values
page Page to display
  • >= 1
per_page Number of results per page
  • 1-5000
process_guid GUID of process
process_guid: ea20d8b4-f24a-4d86-9c40-d5970098f819

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NTl9.sSz9Rme1VDSmPSUpUHEoxOPqAgqkcLvl2Hr4zdVC4VU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-77b7b5fc-cdfa-4a76-921e-cd9cd88dd352/processes?process_guid=ea20d8b4-f24a-4d86-9c40-d5970098f819" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NTl9.sSz9Rme1VDSmPSUpUHEoxOPqAgqkcLvl2Hr4zdVC4VU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-77b7b5fc-cdfa-4a76-921e-cd9cd88dd352/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-77b7b5fc-cdfa-4a76-921e-cd9cd88dd352/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "ea20d8b4-f24a-4d86-9c40-d5970098f819",
      "type": "web",
      "command": null
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e27b69fb-3746-4e5c-a3f9-afe375f89032
Content-Length: 454
X-Content-Type-Options: nosniff