Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

Get an App

GET /v3/apps/:guid

Request

Route

GET /v3/apps/guid-002a927a-e486-4985-9bb1-39e07b650d29

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjYzMzg5NH0.uDI0b4C0R-WRgU_PzdARMFsd_VcztMhd7wpGtExO_Xg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-002a927a-e486-4985-9bb1-39e07b650d29" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjYzMzg5NH0.uDI0b4C0R-WRgU_PzdARMFsd_VcztMhd7wpGtExO_Xg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-002a927a-e486-4985-9bb1-39e07b650d29",
  "name": "my_app",
  "_links": {
    "self": {
      "href": "/v3/apps/guid-002a927a-e486-4985-9bb1-39e07b650d29"
    },
    "processes": {
      "href": "/v3/apps/guid-002a927a-e486-4985-9bb1-39e07b650d29/processes"
    },
    "packages": {
      "href": "/v3/apps/guid-002a927a-e486-4985-9bb1-39e07b650d29/packages"
    },
    "space": {
      "href": "/v2/spaces/44f94773-6422-46b0-94df-bf3d3b06c3ed"
    },
    "desired_droplet": {
      "href": "/v3/droplets/a-droplet-guid"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a487ea53-d240-482c-b1cf-9bb379a534ba
Content-Length: 549
X-Content-Type-Options: nosniff