Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
process_guid GUID of process

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyMzIzNTMxfQ.uPw5rAQ2L_z5K2eKA8prGWSjWDm-JNdNqsYxVMJkZoY
Host: example.org
Cookie: 

Route

GET /v3/apps/guid-8ac22cb2-c27b-4fcf-80cf-47c9a25f9739/processes?process_guid=bfd91b0f-affd-42fd-b27b-e2b41e3a1f48

Query Parameters

process_guid: bfd91b0f-affd-42fd-b27b-e2b41e3a1f48

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-8ac22cb2-c27b-4fcf-80cf-47c9a25f9739/processes?process_guid=bfd91b0f-affd-42fd-b27b-e2b41e3a1f48" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyMzIzNTMxfQ.uPw5rAQ2L_z5K2eKA8prGWSjWDm-JNdNqsYxVMJkZoY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5a7bf725-1879-4e1c-b15b-a449469daef1
Content-Length: 431
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-8ac22cb2-c27b-4fcf-80cf-47c9a25f9739/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-8ac22cb2-c27b-4fcf-80cf-47c9a25f9739/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "bfd91b0f-affd-42fd-b27b-e2b41e3a1f48",
      "type": "web"
    }
  ]
}