Retrieve a Particular Stack
GET /v2/stacks/:guid
Request
Route
GET /v2/stacks/6a4bd236-6858-4bd7-bec9-b08431422a42
Body
Name |
Description |
Default |
Valid Values |
Example Values |
name
|
The name for the stack.
|
|
|
|
description
|
The description for the stack
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/stacks/6a4bd236-6858-4bd7-bec9-b08431422a42" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MCIsImVtYWlsIjoiZW1haWwtMjkyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MjN9.4iYUlYRt57f4zxVhRKvbnViFlxTCMMBJhoGSvHHrGnY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "6a4bd236-6858-4bd7-bec9-b08431422a42",
"url": "/v2/stacks/6a4bd236-6858-4bd7-bec9-b08431422a42",
"created_at": "2015-03-10T23:11:59Z",
"updated_at": null
},
"entity": {
"name": "lucid64",
"description": "Ubuntu 10.04 on x86-64"
}
}
Headers