Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-275140cf-29d9-4bcb-904f-77fe269c272a/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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NCIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjR9.bG_hnhXnHzNDl-bFy6KTl2EmwOwxXDf-IBJ8pu6EEnI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-275140cf-29d9-4bcb-904f-77fe269c272a/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NCIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjR9.bG_hnhXnHzNDl-bFy6KTl2EmwOwxXDf-IBJ8pu6EEnI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-275140cf-29d9-4bcb-904f-77fe269c272a/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-275140cf-29d9-4bcb-904f-77fe269c272a/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "798ab81b-9c53-496f-81c2-b089c342a70a",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-10-15T23:52:44Z",
      "updated_at": "2015-10-15T23:52:44Z",
      "links": {
        "self": {
          "href": "/v3/processes/798ab81b-9c53-496f-81c2-b089c342a70a"
        },
        "scale": {
          "href": "/v3/processes/798ab81b-9c53-496f-81c2-b089c342a70a/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-275140cf-29d9-4bcb-904f-77fe269c272a"
        },
        "space": {
          "href": "/v2/spaces/92685f66-f333-4086-9389-25cfd9613b53"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6bf4d3ff-782d-471b-b3c3-e9012dd34dc8
Content-Length: 1074
X-Content-Type-Options: nosniff