Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-0b8e9f3f-c669-41f2-97d8-035fae112824/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.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MiIsImVtYWlsIjoiZW1haWwtMTkzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzh9.W__dArKhNnPBxU66BJwmgCMbc_q4SWonbhLHlaNRq2k
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-0b8e9f3f-c669-41f2-97d8-035fae112824/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MiIsImVtYWlsIjoiZW1haWwtMTkzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyMzh9.W__dArKhNnPBxU66BJwmgCMbc_q4SWonbhLHlaNRq2k" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-0b8e9f3f-c669-41f2-97d8-035fae112824/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-0b8e9f3f-c669-41f2-97d8-035fae112824/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "e5218b86-39e9-4609-9c23-affc503f0ac5",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2016-02-19T02:03:58Z",
      "updated_at": "2016-02-19T02:03:58Z",
      "links": {
        "self": {
          "href": "/v3/processes/e5218b86-39e9-4609-9c23-affc503f0ac5"
        },
        "scale": {
          "href": "/v3/processes/e5218b86-39e9-4609-9c23-affc503f0ac5/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-0b8e9f3f-c669-41f2-97d8-035fae112824"
        },
        "space": {
          "href": "/v2/spaces/aabed142-3bf1-4c4e-a7de-da01cb09c208"
        }
      }
    }
  ]
}

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