Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-2898af49-b6b9-4f17-afb1-412f716d5962/processes?process_guid=4bf5f151-10e8-482a-bc4c-2556a5142cbe

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: 4bf5f151-10e8-482a-bc4c-2556a5142cbe

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNSIsImVtYWlsIjoiZW1haWwtMTY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDh9.di-DzYzUCZRa4eG848xkuU3y4O4Mb5VihWCesEm7WHE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-2898af49-b6b9-4f17-afb1-412f716d5962/processes?process_guid=4bf5f151-10e8-482a-bc4c-2556a5142cbe" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNSIsImVtYWlsIjoiZW1haWwtMTY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDh9.di-DzYzUCZRa4eG848xkuU3y4O4Mb5VihWCesEm7WHE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-2898af49-b6b9-4f17-afb1-412f716d5962/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-2898af49-b6b9-4f17-afb1-412f716d5962/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "4bf5f151-10e8-482a-bc4c-2556a5142cbe",
      "type": "web",
      "command": null
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 60e3bc8f-5519-4f77-b843-41c0f01e0afb
Content-Length: 454
X-Content-Type-Options: nosniff