Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-79005927-2e76-40b4-a7fa-8444f9b1c6f0/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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ5IiwiZW1haWwiOiJlbWFpbC00N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODMxfQ.Gyw-l8FXOq0bBmtJ_hu-gUbQKjaay3I-rB7AdjrjILE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-79005927-2e76-40b4-a7fa-8444f9b1c6f0/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ5IiwiZW1haWwiOiJlbWFpbC00N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODMxfQ.Gyw-l8FXOq0bBmtJ_hu-gUbQKjaay3I-rB7AdjrjILE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-79005927-2e76-40b4-a7fa-8444f9b1c6f0/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-79005927-2e76-40b4-a7fa-8444f9b1c6f0/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "60ff6219-24a8-4753-bd2e-e8f5b7207fed",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-11-03T00:53:51Z",
      "updated_at": "2015-11-03T00:53:51Z",
      "links": {
        "self": {
          "href": "/v3/processes/60ff6219-24a8-4753-bd2e-e8f5b7207fed"
        },
        "scale": {
          "href": "/v3/processes/60ff6219-24a8-4753-bd2e-e8f5b7207fed/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-79005927-2e76-40b4-a7fa-8444f9b1c6f0"
        },
        "space": {
          "href": "/v2/spaces/eb462bc4-aec7-4b26-8104-c4447821b9e3"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2afea4f3-552c-412c-9cbd-a6e21932106a
Content-Length: 1074
X-Content-Type-Options: nosniff