Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-1ba69b01-e712-4edc-b7e2-a5a6837c697d/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.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2OTF9.bDFnxJON8O3HRVTn77hPLjdAjoLzpAitMK3nd0vWIrk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-1ba69b01-e712-4edc-b7e2-a5a6837c697d/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2OTF9.bDFnxJON8O3HRVTn77hPLjdAjoLzpAitMK3nd0vWIrk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-1ba69b01-e712-4edc-b7e2-a5a6837c697d/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-1ba69b01-e712-4edc-b7e2-a5a6837c697d/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "4c2d254d-009f-4f47-b789-ece38a72c6ae",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-12-22T18:28:11Z",
      "updated_at": "2015-12-22T18:28:11Z",
      "links": {
        "self": {
          "href": "/v3/processes/4c2d254d-009f-4f47-b789-ece38a72c6ae"
        },
        "scale": {
          "href": "/v3/processes/4c2d254d-009f-4f47-b789-ece38a72c6ae/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-1ba69b01-e712-4edc-b7e2-a5a6837c697d"
        },
        "space": {
          "href": "/v2/spaces/54c6dc91-2992-46bd-b8fa-cb999b370325"
        }
      }
    }
  ]
}

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