Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-baf80bad-a867-46b1-b0bb-142d8d524a4e/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MCIsImVtYWlsIjoiZW1haWwtMTM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5ODh9.WRn78Ub2taTv9_xYu8XjlNoFxkQSlxZD3UTL8RchI3U
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-baf80bad-a867-46b1-b0bb-142d8d524a4e/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MCIsImVtYWlsIjoiZW1haWwtMTM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5ODh9.WRn78Ub2taTv9_xYu8XjlNoFxkQSlxZD3UTL8RchI3U" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-baf80bad-a867-46b1-b0bb-142d8d524a4e/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-baf80bad-a867-46b1-b0bb-142d8d524a4e/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "c179b86c-cdfd-49ff-8d08-30504602e28f",
      "type": "web",
      "command": null,
      "instances": 1,
      "created_at": "2015-05-21T01:03:07Z",
      "updated_at": "2015-05-21T01:03:07Z",
      "_links": {
        "self": {
          "href": "/v3/processes/c179b86c-cdfd-49ff-8d08-30504602e28f"
        },
        "scale": {
          "href": "/v3/processes/c179b86c-cdfd-49ff-8d08-30504602e28f/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-baf80bad-a867-46b1-b0bb-142d8d524a4e"
        },
        "space": {
          "href": "/v2/spaces/81b71ca3-26d4-4a35-82b6-9a0d748d3e0e"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ef1e71c6-82a0-44d6-8225-56a8d0dcafbc
Content-Length: 1021
X-Content-Type-Options: nosniff