Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-c94870b7-e5eb-4e33-951d-3cc992e6a4df/processes?process_guid=d3e6353d-0170-4176-813a-9b7d442e2301

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: d3e6353d-0170-4176-813a-9b7d442e2301

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MiIsImVtYWlsIjoiZW1haWwtMjU0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzd9.hNm0ZqAQcqg02eAx6WZjf2813BX6E5sf59sAGd_jI4Q
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-c94870b7-e5eb-4e33-951d-3cc992e6a4df/processes?process_guid=d3e6353d-0170-4176-813a-9b7d442e2301" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MiIsImVtYWlsIjoiZW1haWwtMjU0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzd9.hNm0ZqAQcqg02eAx6WZjf2813BX6E5sf59sAGd_jI4Q" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-c94870b7-e5eb-4e33-951d-3cc992e6a4df/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-c94870b7-e5eb-4e33-951d-3cc992e6a4df/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "d3e6353d-0170-4176-813a-9b7d442e2301",
      "type": "web",
      "command": null
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 213e47be-f717-478d-84c6-ae031258f4e3
Content-Length: 454
X-Content-Type-Options: nosniff