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
page Page to display
  • >= 1
per_page Number of results per page
  • 1-5000
process_guid GUID of process

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU3IiwiZW1haWwiOiJlbWFpbC0zOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg3fQ.9EsI3DonUBqjuk57zoOd4kCZKdqccR2eHhiXMCngfzc
Host: example.org
Cookie: 

Route

GET /v3/apps/guid-7a271b1e-750a-43e7-85da-ceb795bd1a14/processes?process_guid=1200e03e-78d3-4156-98b4-08b24bb8e544

Query Parameters

process_guid: 1200e03e-78d3-4156-98b4-08b24bb8e544

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-7a271b1e-750a-43e7-85da-ceb795bd1a14/processes?process_guid=1200e03e-78d3-4156-98b4-08b24bb8e544" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU3IiwiZW1haWwiOiJlbWFpbC0zOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg3fQ.9EsI3DonUBqjuk57zoOd4kCZKdqccR2eHhiXMCngfzc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 899e03d1-98d2-4482-8719-48750fca8359
Content-Length: 454
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-7a271b1e-750a-43e7-85da-ceb795bd1a14/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-7a271b1e-750a-43e7-85da-ceb795bd1a14/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "1200e03e-78d3-4156-98b4-08b24bb8e544",
      "type": "web",
      "command": null
    }
  ]
}