Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-10443743-7dd4-4a25-b01b-f50fbe355ca9/processes

Parameters

Name Description Valid Values Example Values
page Page to display
  • >= 1
per_page Number of results per page
  • 1-5000

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMSIsImVtYWlsIjoiZW1haWwtMTI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODd9.8T9RH9jSMbEbwULTgjVURvmJvha4GzGW7S7Mz5EJ4z4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-10443743-7dd4-4a25-b01b-f50fbe355ca9/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMSIsImVtYWlsIjoiZW1haWwtMTI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODd9.8T9RH9jSMbEbwULTgjVURvmJvha4GzGW7S7Mz5EJ4z4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-10443743-7dd4-4a25-b01b-f50fbe355ca9/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-10443743-7dd4-4a25-b01b-f50fbe355ca9/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "b7e70d58-b528-4d43-9ba0-f19190f3ad08",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-07-06T23:23:06Z",
      "updated_at": "2015-07-06T23:23:06Z",
      "_links": {
        "self": {
          "href": "/v3/processes/b7e70d58-b528-4d43-9ba0-f19190f3ad08"
        },
        "scale": {
          "href": "/v3/processes/b7e70d58-b528-4d43-9ba0-f19190f3ad08/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-10443743-7dd4-4a25-b01b-f50fbe355ca9"
        },
        "space": {
          "href": "/v2/spaces/d1fb2fb1-34a8-4acd-b268-d1f56f6d3616"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: bc5216d2-eb5b-44a7-8ce2-b14ebd21c8a7
Content-Length: 1075
X-Content-Type-Options: nosniff