Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

List associated processes

GET /v3/apps/:guid/processes

Request

Route

GET /v3/apps/guid-ad6388b3-c798-4ee7-8bab-6714864eb389/processes

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NCIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MDl9.JACXXA_iKlUYylPZaJnYvSc6366MoN_JGfQ6O5ZvlCM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-ad6388b3-c798-4ee7-8bab-6714864eb389/processes" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NCIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MDl9.JACXXA_iKlUYylPZaJnYvSc6366MoN_JGfQ6O5ZvlCM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "pagination": {
    "total_results": 1,
    "first": {
      "href": "/v3/apps/guid-ad6388b3-c798-4ee7-8bab-6714864eb389/processes?page=1&per_page=50"
    },
    "last": {
      "href": "/v3/apps/guid-ad6388b3-c798-4ee7-8bab-6714864eb389/processes?page=1&per_page=50"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "38fcaafa-5356-4f74-af10-dc70da151993",
      "type": "web",
      "command": null,
      "instances": 1,
      "memory_in_mb": 1024,
      "disk_in_mb": 1024,
      "created_at": "2015-07-27T22:43:29Z",
      "updated_at": "2015-07-27T22:43:29Z",
      "_links": {
        "self": {
          "href": "/v3/processes/38fcaafa-5356-4f74-af10-dc70da151993"
        },
        "scale": {
          "href": "/v3/processes/38fcaafa-5356-4f74-af10-dc70da151993/scale",
          "method": "PUT"
        },
        "app": {
          "href": "/v3/apps/guid-ad6388b3-c798-4ee7-8bab-6714864eb389"
        },
        "space": {
          "href": "/v2/spaces/b35fe3b3-7ec3-4fc0-acd0-249eb61a27f3"
        }
      }
    }
  ]
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9b6d65e5-6b10-4fde-95ba-75f94187b13e
Content-Length: 1075
X-Content-Type-Options: nosniff