Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-d9d5933d-66df-47c6-aa10-ffa9b5f80f0a/processes

Parameters

Name Description Valid Values Example Values
page Page to display
  • >= 1
per_page Number of results per page
  • 1-5000

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNiIsImVtYWlsIjoiZW1haWwtMjMzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MjJ9.kYu2KupuJK8b4VdJ0edpJMpt-O6Zjk6dUhttyh5tsiQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-d9d5933d-66df-47c6-aa10-ffa9b5f80f0a/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNiIsImVtYWlsIjoiZW1haWwtMjMzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MjJ9.kYu2KupuJK8b4VdJ0edpJMpt-O6Zjk6dUhttyh5tsiQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-d9d5933d-66df-47c6-aa10-ffa9b5f80f0a/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-d9d5933d-66df-47c6-aa10-ffa9b5f80f0a/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "412dbad1-44ca-481c-8973-ad690a2cab1d",
      "type": "web",
      "command": null,
      "instances": 1,
      "created_at": "2015-05-15T16:53:42Z",
      "updated_at": "2015-05-15T16:53:42Z",
      "_links": {
        "self": {
          "href": "/v3/processes/412dbad1-44ca-481c-8973-ad690a2cab1d"
        },
        "app": {
          "href": "/v3/apps/guid-d9d5933d-66df-47c6-aa10-ffa9b5f80f0a"
        },
        "space": {
          "href": "/v2/spaces/17d61673-7a11-4707-9349-83d86e229007"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 716b0c3a-10aa-49ef-a0a0-6d4bca44b2f2
Content-Length: 887
X-Content-Type-Options: nosniff