List associated processes
GET /v3/apps/:guid/processes
Request
Route
GET /v3/apps/guid-4f7639bd-307b-44e2-ad1e-e8a0690c16a5/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-4f7639bd-307b-44e2-ad1e-e8a0690c16a5/processes" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk4IiwiZW1haWwiOiJlbWFpbC02NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTI0fQ.9lFF2R879icvGCIy39Y0uhdPc6HTGiaY6McHZRdjtbI" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"pagination": {
"total_results": 1,
"first": {
"href": "/v3/apps/guid-4f7639bd-307b-44e2-ad1e-e8a0690c16a5/processes?page=1&per_page=50"
},
"last": {
"href": "/v3/apps/guid-4f7639bd-307b-44e2-ad1e-e8a0690c16a5/processes?page=1&per_page=50"
},
"next": null,
"previous": null
},
"resources": [
{
"guid": "90e8e4c4-1ed8-4d6a-a92a-ca3dd742c504",
"type": "web",
"command": null,
"instances": 1,
"memory_in_mb": 1024,
"disk_in_mb": 1024,
"created_at": "2015-10-07T00:35:24Z",
"updated_at": "2015-10-07T00:35:24Z",
"links": {
"self": {
"href": "/v3/processes/90e8e4c4-1ed8-4d6a-a92a-ca3dd742c504"
},
"scale": {
"href": "/v3/processes/90e8e4c4-1ed8-4d6a-a92a-ca3dd742c504/scale",
"method": "PUT"
},
"app": {
"href": "/v3/apps/guid-4f7639bd-307b-44e2-ad1e-e8a0690c16a5"
},
"space": {
"href": "/v2/spaces/45eff69c-ded3-46e7-bff5-c52e5c3106f6"
}
}
}
]
}
Headers