Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-2fb5e39b-b6ee-4556-b2b1-ec6777283d9f/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.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMCIsImVtYWlsIjoiZW1haWwtMjgyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzR9.d8I-kMfymjGOk5DkE9WXliFXPfTT5NK_Wcy2khO7yPs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-2fb5e39b-b6ee-4556-b2b1-ec6777283d9f/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMCIsImVtYWlsIjoiZW1haWwtMjgyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzR9.d8I-kMfymjGOk5DkE9WXliFXPfTT5NK_Wcy2khO7yPs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-2fb5e39b-b6ee-4556-b2b1-ec6777283d9f/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-2fb5e39b-b6ee-4556-b2b1-ec6777283d9f/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "d143a22b-be23-4889-a82f-5fac11a68bb2",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2016-01-26T22:20:33Z",
      "updated_at": "2016-01-26T22:20:33Z",
      "links": {
        "self": {
          "href": "/v3/processes/d143a22b-be23-4889-a82f-5fac11a68bb2"
        },
        "scale": {
          "href": "/v3/processes/d143a22b-be23-4889-a82f-5fac11a68bb2/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-2fb5e39b-b6ee-4556-b2b1-ec6777283d9f"
        },
        "space": {
          "href": "/v2/spaces/ef266785-8ebc-434f-b0ec-8aafecf9317d"
        }
      }
    }
  ]
}

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
X-Runtime: 0.019408
Content-Length: 1074