Home
Version 3
Processes (Experimental) API

Processes (Experimental) API

List all Processes

GET /v3/processes

Request

Route

GET /v3/processes?page=1&per_page=2

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NSIsImVtYWlsIjoiZW1haWwtMjAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTN9.kV7obeJOh9Bi_n7Vj1ugLpfy9F-4ToZ06Vyb_3m3Ryk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/processes?page=1&per_page=2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NSIsImVtYWlsIjoiZW1haWwtMjAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTN9.kV7obeJOh9Bi_n7Vj1ugLpfy9F-4ToZ06Vyb_3m3Ryk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 3,
    "first": {
      "href": "/v3/processes?page=1&per_page=2"
    },
    "last": {
      "href": "/v3/processes?page=2&per_page=2"
    },
    "next": {
      "href": "/v3/processes?page=2&per_page=2"
    },
    "previous": null
  },
  "resources": [
    {
      "guid": "f4a9b373-9748-4755-81b3-32be47c73b25",
      "type": "web",
      "command": null,
      "instances": 1,
      "created_at": "2015-05-21T01:03:13Z",
      "updated_at": "2015-05-21T01:03:13Z",
      "_links": {
        "self": {
          "href": "/v3/processes/f4a9b373-9748-4755-81b3-32be47c73b25"
        },
        "scale": {
          "href": "/v3/processes/f4a9b373-9748-4755-81b3-32be47c73b25/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-72584cfb-4727-4f83-aabe-232ad6ea7133"
        },
        "space": {
          "href": "/v2/spaces/f319a699-042f-4bc4-b876-b9eff12fec85"
        }
      }
    },
    {
      "guid": "089399e9-90f4-477d-9daa-cf0a16368563",
      "type": "web",
      "command": null,
      "instances": 1,
      "created_at": "2015-05-21T01:03:13Z",
      "updated_at": "2015-05-21T01:03:13Z",
      "_links": {
        "self": {
          "href": "/v3/processes/089399e9-90f4-477d-9daa-cf0a16368563"
        },
        "scale": {
          "href": "/v3/processes/089399e9-90f4-477d-9daa-cf0a16368563/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/"
        },
        "space": {
          "href": "/v2/spaces/f319a699-042f-4bc4-b876-b9eff12fec85"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2dc05755-7609-462d-84c7-3e078955b27b
Content-Length: 1612
X-Content-Type-Options: nosniff