Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-1c54f062-fe27-48e1-95ac-62e1dcb11bfd/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.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNyIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDh9.Sbzccysg4RKgK2zPngCA8rpv1XQJcWdNwJ_Pv69pX3o
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-1c54f062-fe27-48e1-95ac-62e1dcb11bfd/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNyIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDh9.Sbzccysg4RKgK2zPngCA8rpv1XQJcWdNwJ_Pv69pX3o" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-1c54f062-fe27-48e1-95ac-62e1dcb11bfd/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-1c54f062-fe27-48e1-95ac-62e1dcb11bfd/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "66bcd523-03e7-4d50-ab57-61b35c2728b7",
      "type": "web",
      "command": null,
      "instances": 1,
      "created_at": "2015-06-04T00:05:08Z",
      "updated_at": "2015-06-04T00:05:08Z",
      "_links": {
        "self": {
          "href": "/v3/processes/66bcd523-03e7-4d50-ab57-61b35c2728b7"
        },
        "scale": {
          "href": "/v3/processes/66bcd523-03e7-4d50-ab57-61b35c2728b7/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-1c54f062-fe27-48e1-95ac-62e1dcb11bfd"
        },
        "space": {
          "href": "/v2/spaces/d37c73aa-a58d-4ecb-b76c-d57a87df714b"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f61e9aec-b9db-4666-a5ad-e29f013ba936
Content-Length: 1021
X-Content-Type-Options: nosniff