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
|
|
|
per_page
|
Number of results per page
|
|
|
page: 1
per_page: 2
Headers
cURL
curl "https://api.[your-domain.com]/v3/processes?page=1&per_page=2" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MiIsImVtYWlsIjoiZW1haWwtMjQzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTR9.CyCmbHUnTGwfymJnr9z0NjtcB7sR4dCoS5VMqZapTV0" \
-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": "b796cf68-1082-4934-97b1-7a6d50ee72e5",
"type": "web",
"command": null,
"instances": 1,
"memory_in_mb": 1024,
"disk_in_mb": 1024,
"created_at": "2015-08-31T21:50:14Z",
"updated_at": "2015-08-31T21:50:14Z",
"_links": {
"self": {
"href": "/v3/processes/b796cf68-1082-4934-97b1-7a6d50ee72e5"
},
"scale": {
"href": "/v3/processes/b796cf68-1082-4934-97b1-7a6d50ee72e5/scale",
"method": "PUT"
},
"app": {
"href": "/v3/apps/guid-ff7ccf5f-bf42-489f-99b4-7e45f4597f5c"
},
"space": {
"href": "/v2/spaces/ac7e2e7d-e7a8-4e36-8914-8b28006e804a"
}
}
},
{
"guid": "7cc655ac-bd7c-43fc-8dd9-b2ba7a88ff1b",
"type": "web",
"command": null,
"instances": 1,
"memory_in_mb": 1024,
"disk_in_mb": 1024,
"created_at": "2015-08-31T21:50:14Z",
"updated_at": "2015-08-31T21:50:14Z",
"_links": {
"self": {
"href": "/v3/processes/7cc655ac-bd7c-43fc-8dd9-b2ba7a88ff1b"
},
"scale": {
"href": "/v3/processes/7cc655ac-bd7c-43fc-8dd9-b2ba7a88ff1b/scale",
"method": "PUT"
},
"app": {
"href": "/v3/apps/"
},
"space": {
"href": "/v2/spaces/ac7e2e7d-e7a8-4e36-8914-8b28006e804a"
}
}
}
]
}
Headers