Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

Get an App

GET /v3/apps/:guid

Request

Route

GET /v3/apps/guid-cadee77a-8220-4aa9-88d4-ac7bbf4dbaa2

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OCIsImVtYWlsIjoiZW1haWwtMjcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzh9.ETbB9fzrcTE1CgregMkLdgYBkV0CeQpG8jpihsbO4y0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-cadee77a-8220-4aa9-88d4-ac7bbf4dbaa2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OCIsImVtYWlsIjoiZW1haWwtMjcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzh9.ETbB9fzrcTE1CgregMkLdgYBkV0CeQpG8jpihsbO4y0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-cadee77a-8220-4aa9-88d4-ac7bbf4dbaa2",
  "name": "my_app",
  "_links": {
    "self": {
      "href": "/v3/apps/guid-cadee77a-8220-4aa9-88d4-ac7bbf4dbaa2"
    },
    "processes": {
      "href": "/v3/apps/guid-cadee77a-8220-4aa9-88d4-ac7bbf4dbaa2/processes"
    },
    "packages": {
      "href": "/v3/apps/guid-cadee77a-8220-4aa9-88d4-ac7bbf4dbaa2/packages"
    },
    "space": {
      "href": "/v2/spaces/1b39a331-04ff-42e8-a339-d9f837a7d203"
    },
    "desired_droplet": {
      "href": "/v3/droplets/a-droplet-guid"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e599b77e-f96d-495f-adf0-1e180c222564
Content-Length: 549
X-Content-Type-Options: nosniff