Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-ed5ac9c7-0956-4b8f-8cfa-605c90423794/processes?process_guid=59582c2f-5d1e-4235-ac0a-f26e23203d0a

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: 59582c2f-5d1e-4235-ac0a-f26e23203d0a

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTR9.MlVYs7IexqCLNqACZROxjAAGU-uvP__AidIG9UPoCm8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-ed5ac9c7-0956-4b8f-8cfa-605c90423794/processes?process_guid=59582c2f-5d1e-4235-ac0a-f26e23203d0a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTR9.MlVYs7IexqCLNqACZROxjAAGU-uvP__AidIG9UPoCm8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-ed5ac9c7-0956-4b8f-8cfa-605c90423794/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-ed5ac9c7-0956-4b8f-8cfa-605c90423794/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "59582c2f-5d1e-4235-ac0a-f26e23203d0a",
      "type": "web",
      "command": null
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a2bddf5d-1b01-4886-a79e-eb58b91428a3
Content-Length: 454
X-Content-Type-Options: nosniff