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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNCIsImVtYWlsIjoiZW1haWwtMTM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzV9.pbjysBrlsMfYT-WTmDoQX_UShPP1cqGzmx0GHEh3jLs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/processes?page=1&per_page=2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNCIsImVtYWlsIjoiZW1haWwtMTM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzV9.pbjysBrlsMfYT-WTmDoQX_UShPP1cqGzmx0GHEh3jLs" \
	-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": "2e13d91a-2f8e-45ff-82ea-2963c5cb0526",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-09-11T18:38:55Z",
      "updated_at": "2015-09-11T18:38:55Z",
      "_links": {
        "self": {
          "href": "/v3/processes/2e13d91a-2f8e-45ff-82ea-2963c5cb0526"
        },
        "scale": {
          "href": "/v3/processes/2e13d91a-2f8e-45ff-82ea-2963c5cb0526/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-f8861e8c-ab88-4d9e-ba0d-0b6648520786"
        },
        "space": {
          "href": "/v2/spaces/29f5787c-46aa-4b2e-8377-b7b229e7d349"
        }
      }
    },
    {
      "guid": "531c116b-7663-4f36-bc0d-a41969061287",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-09-11T18:38:55Z",
      "updated_at": "2015-09-11T18:38:55Z",
      "_links": {
        "self": {
          "href": "/v3/processes/531c116b-7663-4f36-bc0d-a41969061287"
        },
        "scale": {
          "href": "/v3/processes/531c116b-7663-4f36-bc0d-a41969061287/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/"
        },
        "space": {
          "href": "/v2/spaces/29f5787c-46aa-4b2e-8377-b7b229e7d349"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 46805021-1325-4b17-8fe3-fd542b793e1c
Content-Length: 1720
X-Content-Type-Options: nosniff