List associated processes
GET /v3/apps/:guid/processes
Request
Route
GET /v3/apps/guid-164ce693-0424-4295-8bb5-65ebb0e869ae/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-164ce693-0424-4295-8bb5-65ebb0e869ae/processes" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NCIsImVtYWlsIjoiZW1haWwtMzIxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NzZ9.5RK94323_jBn2uelv3hHwFgbX4MIRPSU-yOa1zJ-9_g" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"pagination": {
"total_results": 1,
"first": {
"href": "/v3/apps/guid-164ce693-0424-4295-8bb5-65ebb0e869ae/processes?page=1&per_page=50"
},
"last": {
"href": "/v3/apps/guid-164ce693-0424-4295-8bb5-65ebb0e869ae/processes?page=1&per_page=50"
},
"next": null,
"previous": null
},
"resources": [
{
"guid": "04539018-a7f6-4e84-a730-8139d01f7323",
"type": "web",
"command": null,
"instances": 1,
"memory_in_mb": 1024,
"disk_in_mb": 1024,
"created_at": "2015-11-13T17:02:56Z",
"updated_at": "2015-11-13T17:02:56Z",
"links": {
"self": {
"href": "/v3/processes/04539018-a7f6-4e84-a730-8139d01f7323"
},
"scale": {
"href": "/v3/processes/04539018-a7f6-4e84-a730-8139d01f7323/scale",
"method": "PUT"
},
"app": {
"href": "/v3/apps/guid-164ce693-0424-4295-8bb5-65ebb0e869ae"
},
"space": {
"href": "/v2/spaces/fcd45b7a-3075-40b6-ac49-aeb4e82ebe65"
}
}
}
]
}
Headers