List associated processes
GET /v3/apps/:guid/processes
Request
Route
GET /v3/apps/guid-f6108400-468f-4046-83ab-9e57825c6b7a/processes
Parameters
Name |
Description |
Valid Values |
Example Values |
page
|
Page to display
|
|
|
per_page
|
Number of results per page
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v3/apps/guid-f6108400-468f-4046-83ab-9e57825c6b7a/processes" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NiIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTN9.3kL5HdIOWcWP8O_3xSunqWUiushDHLtdNmH6Bnlnl00" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"pagination": {
"total_results": 1,
"first": {
"href": "/v3/apps/guid-f6108400-468f-4046-83ab-9e57825c6b7a/processes?page=1&per_page=50"
},
"last": {
"href": "/v3/apps/guid-f6108400-468f-4046-83ab-9e57825c6b7a/processes?page=1&per_page=50"
},
"next": null,
"previous": null
},
"resources": [
{
"guid": "f0aba544-d503-4211-a604-cd8ec51dd432",
"type": "web",
"command": null,
"instances": 1,
"memory_in_mb": 1024,
"disk_in_mb": 1024,
"created_at": "2015-08-06T00:36:53Z",
"updated_at": "2015-08-06T00:36:53Z",
"_links": {
"self": {
"href": "/v3/processes/f0aba544-d503-4211-a604-cd8ec51dd432"
},
"scale": {
"href": "/v3/processes/f0aba544-d503-4211-a604-cd8ec51dd432/scale",
"method": "PUT"
},
"app": {
"href": "/v3/apps/guid-f6108400-468f-4046-83ab-9e57825c6b7a"
},
"space": {
"href": "/v2/spaces/27063558-0a0a-466f-b27b-5e5d8dcd7f41"
}
}
}
]
}
Headers