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.eyJ1c2VyX2lkIjoidWFhLWlkLTE1IiwiZW1haWwiOiJlbWFpbC0xNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODYzfQ.L1YwmJUa3rteBAN5SAajY-FseniUY6-Bz7CV118vFqs
Host: example.org
Cookie: 

Route

GET /v3/apps/guid-060f25e5-5d0a-4eef-b304-78d611f9ce56/processes?process_guid=109c77fa-fb6e-47c3-96a5-6586b6d54648

Query Parameters

process_guid: 109c77fa-fb6e-47c3-96a5-6586b6d54648

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-060f25e5-5d0a-4eef-b304-78d611f9ce56/processes?process_guid=109c77fa-fb6e-47c3-96a5-6586b6d54648" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1IiwiZW1haWwiOiJlbWFpbC0xNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODYzfQ.L1YwmJUa3rteBAN5SAajY-FseniUY6-Bz7CV118vFqs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7fdf45d5-9477-4943-b062-8b7b8e49a772
Content-Length: 431
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-060f25e5-5d0a-4eef-b304-78d611f9ce56/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-060f25e5-5d0a-4eef-b304-78d611f9ce56/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "109c77fa-fb6e-47c3-96a5-6586b6d54648",
      "type": "web"
    }
  ]
}