Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-f497996d-132b-4f39-b3bb-fca3ba23bad1/processes?process_guid=6b646b59-e276-4f61-8d11-9e15924bcff5

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: 6b646b59-e276-4f61-8d11-9e15924bcff5

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNCIsImVtYWlsIjoiZW1haWwtMTY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDh9.bodffYVVZ0lA_o3nl1t9g7ARg25v4fe9k3o5_ivX3aE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-f497996d-132b-4f39-b3bb-fca3ba23bad1/processes?process_guid=6b646b59-e276-4f61-8d11-9e15924bcff5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNCIsImVtYWlsIjoiZW1haWwtMTY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDh9.bodffYVVZ0lA_o3nl1t9g7ARg25v4fe9k3o5_ivX3aE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-f497996d-132b-4f39-b3bb-fca3ba23bad1/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-f497996d-132b-4f39-b3bb-fca3ba23bad1/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "6b646b59-e276-4f61-8d11-9e15924bcff5",
      "type": "web",
      "command": null
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7619fe87-8b04-4ced-9f84-c707e7d07904
Content-Length: 454
X-Content-Type-Options: nosniff