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.eyJ1c2VyX2lkIjoidWFhLWlkLTMiLCJlbWFpbCI6ImVtYWlsLTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDMxMDExOH0.bh35Ic7z4tj1jXNdl1oZ8UyoWPbOeGd6JPnKtyo28-g
Host: example.org
Cookie: 

Route

GET /v3/apps/guid-bb482006-4999-4033-9f5c-9b6e8a50bf42/processes?process_guid=36fc6c7e-8758-462a-8907-5fab5b3854e7

Query Parameters

process_guid: 36fc6c7e-8758-462a-8907-5fab5b3854e7

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-bb482006-4999-4033-9f5c-9b6e8a50bf42/processes?process_guid=36fc6c7e-8758-462a-8907-5fab5b3854e7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMiLCJlbWFpbCI6ImVtYWlsLTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDMxMDExOH0.bh35Ic7z4tj1jXNdl1oZ8UyoWPbOeGd6JPnKtyo28-g" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 02e314fa-a0f2-4117-8176-85ff05660d0d
Content-Length: 454
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-bb482006-4999-4033-9f5c-9b6e8a50bf42/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-bb482006-4999-4033-9f5c-9b6e8a50bf42/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "36fc6c7e-8758-462a-8907-5fab5b3854e7",
      "type": "web",
      "command": null
    }
  ]
}