Home
Version 3
Apps (Experimental) API

Apps (Experimental) API

Get an App

GET /v3/apps/:guid

Request

Route

GET /v3/apps/guid-3159e17b-9e46-4125-a91a-20a01ea8cdc6

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOCIsImVtYWlsIjoiZW1haWwtODBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzMyMzk2MH0.E-uTSuqF4r9A2R9wXHRJT644rxSP07eEbD7YuBiIUIg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-3159e17b-9e46-4125-a91a-20a01ea8cdc6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOCIsImVtYWlsIjoiZW1haWwtODBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLnJlYWQiLCJjbG91ZF9jb250cm9sbGVyLndyaXRlIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzMyMzk2MH0.E-uTSuqF4r9A2R9wXHRJT644rxSP07eEbD7YuBiIUIg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "guid-3159e17b-9e46-4125-a91a-20a01ea8cdc6",
  "name": "my_app",
  "desired_state": "STOPPED",
  "_links": {
    "self": {
      "href": "/v3/apps/guid-3159e17b-9e46-4125-a91a-20a01ea8cdc6"
    },
    "processes": {
      "href": "/v3/apps/guid-3159e17b-9e46-4125-a91a-20a01ea8cdc6/processes"
    },
    "packages": {
      "href": "/v3/apps/guid-3159e17b-9e46-4125-a91a-20a01ea8cdc6/packages"
    },
    "space": {
      "href": "/v2/spaces/d7c3fe74-4c7b-459e-9ae5-b7348cb1f723"
    },
    "desired_droplet": {
      "href": "/v3/droplets/a-droplet-guid"
    }
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a5a614b6-47e0-4b6f-ba2d-f683d4d160b2
Content-Length: 579
X-Content-Type-Options: nosniff