Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-4773ded8-5900-45f8-b059-eb2777e0f4c0/processes?process_guid=81a614eb-8e9f-4f53-9b0c-797f61f282c2

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: 81a614eb-8e9f-4f53-9b0c-797f61f282c2

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MiIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDh9.tOX1yUv0QAKIUhjLpXKa-9a7UN9VkCdwwHcH8e3geFM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-4773ded8-5900-45f8-b059-eb2777e0f4c0/processes?process_guid=81a614eb-8e9f-4f53-9b0c-797f61f282c2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MiIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDh9.tOX1yUv0QAKIUhjLpXKa-9a7UN9VkCdwwHcH8e3geFM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-4773ded8-5900-45f8-b059-eb2777e0f4c0/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-4773ded8-5900-45f8-b059-eb2777e0f4c0/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "81a614eb-8e9f-4f53-9b0c-797f61f282c2",
      "type": "web",
      "command": null,
      "created_at": "2015-04-15T00:55:48Z",
      "updated_at": "2015-04-15T00:55:48Z"
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d12a3d3d-4182-444a-a1a3-dcbc99971478
Content-Length: 542
X-Content-Type-Options: nosniff