Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-0f5c70f3-2b22-42e5-bd35-edd60c3bc5a2/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OSIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDR9.Nd4pIB5kxht3yMbKoFetXia4dovuuDuZp4BfdpJTFnI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-0f5c70f3-2b22-42e5-bd35-edd60c3bc5a2/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OSIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDR9.Nd4pIB5kxht3yMbKoFetXia4dovuuDuZp4BfdpJTFnI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-0f5c70f3-2b22-42e5-bd35-edd60c3bc5a2/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-0f5c70f3-2b22-42e5-bd35-edd60c3bc5a2/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "67a1718a-c6e3-4811-b356-efa307c07962",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-08-31T21:50:04Z",
      "updated_at": "2015-08-31T21:50:04Z",
      "_links": {
        "self": {
          "href": "/v3/processes/67a1718a-c6e3-4811-b356-efa307c07962"
        },
        "scale": {
          "href": "/v3/processes/67a1718a-c6e3-4811-b356-efa307c07962/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-0f5c70f3-2b22-42e5-bd35-edd60c3bc5a2"
        },
        "space": {
          "href": "/v2/spaces/e5967438-346e-4253-a50e-d2e0b09c88bc"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 46b52a32-61db-49fe-8778-6231636c5a80
Content-Length: 1075
X-Content-Type-Options: nosniff