Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-9cf68873-09ae-4496-aae9-593068b4581e/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.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNCIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzl9.wdQxGGqX3dEMWKUjzhshzG7AbXRy_y8EyGuZCvXTH2Q
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-9cf68873-09ae-4496-aae9-593068b4581e/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNCIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzl9.wdQxGGqX3dEMWKUjzhshzG7AbXRy_y8EyGuZCvXTH2Q" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-9cf68873-09ae-4496-aae9-593068b4581e/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-9cf68873-09ae-4496-aae9-593068b4581e/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "d133bfe4-e294-4cd5-a0f8-2ab14a0a3da8",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2016-01-19T19:41:19Z",
      "updated_at": "2016-01-19T19:41:19Z",
      "links": {
        "self": {
          "href": "/v3/processes/d133bfe4-e294-4cd5-a0f8-2ab14a0a3da8"
        },
        "scale": {
          "href": "/v3/processes/d133bfe4-e294-4cd5-a0f8-2ab14a0a3da8/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-9cf68873-09ae-4496-aae9-593068b4581e"
        },
        "space": {
          "href": "/v2/spaces/783e3e4d-130c-47eb-9057-ba9f50488d4b"
        }
      }
    }
  ]
}

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.018525
Content-Length: 1074