Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-3d741e6b-e445-4838-b42b-96624670582c/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.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NiIsImVtYWlsIjoiZW1haWwtMjE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTN9.VT_5SDPJebjuc1ziNCsNJYplXyZr0PlTgTms3riqcKI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-3d741e6b-e445-4838-b42b-96624670582c/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NiIsImVtYWlsIjoiZW1haWwtMjE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTN9.VT_5SDPJebjuc1ziNCsNJYplXyZr0PlTgTms3riqcKI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-3d741e6b-e445-4838-b42b-96624670582c/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-3d741e6b-e445-4838-b42b-96624670582c/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "4054846a-a5df-429b-b73e-10ccd54005ea",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-10-13T17:31:53Z",
      "updated_at": "2015-10-13T17:31:53Z",
      "links": {
        "self": {
          "href": "/v3/processes/4054846a-a5df-429b-b73e-10ccd54005ea"
        },
        "scale": {
          "href": "/v3/processes/4054846a-a5df-429b-b73e-10ccd54005ea/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-3d741e6b-e445-4838-b42b-96624670582c"
        },
        "space": {
          "href": "/v2/spaces/91a9d6a2-1023-48be-bb58-e028cff1ef96"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: dd5a8b18-7d58-4091-97a6-112a5f400e03
Content-Length: 1074
X-Content-Type-Options: nosniff