Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-114cff70-4c8f-4346-b61b-410ad6fe3806/processes

Parameters

Name Description Valid Values Example Values
page Page to display
  • >= 1
per_page Number of results per page
  • 1-5000

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOCIsImVtYWlsIjoiZW1haWwtMTM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzV9._QI0wkhKMOskYyXCeZPTf8n-ojQGRhTsGzzmMq_bWcE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-114cff70-4c8f-4346-b61b-410ad6fe3806/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOCIsImVtYWlsIjoiZW1haWwtMTM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzV9._QI0wkhKMOskYyXCeZPTf8n-ojQGRhTsGzzmMq_bWcE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-114cff70-4c8f-4346-b61b-410ad6fe3806/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-114cff70-4c8f-4346-b61b-410ad6fe3806/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "3c0db171-0b5c-428a-8d5e-21a50539f25b",
      "type": "web",
      "command": null,
      "instances": 1,
      "created_at": "2015-05-07T23:37:15Z",
      "updated_at": "2015-05-07T23:37:15Z",
      "_links": {
        "self": {
          "href": "/v3/processes/3c0db171-0b5c-428a-8d5e-21a50539f25b"
        },
        "app": {
          "href": "/v3/apps/guid-114cff70-4c8f-4346-b61b-410ad6fe3806"
        },
        "space": {
          "href": "/v2/spaces/82abff30-c518-4dc4-860b-d94c2d3342e6"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 70b2d315-f644-46f6-8f71-3b2f15bc52a9
Content-Length: 887
X-Content-Type-Options: nosniff