Retrieve a Particular Stack
GET /v2/stacks/:guid
Request
Route
GET /v2/stacks/6d4efea3-c3ff-42ff-9f10-7e8f3f8662b7
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/6d4efea3-c3ff-42ff-9f10-7e8f3f8662b7" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxIiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDY2MDA4ODgzfQ.MLD5j6OtA3Oixaz3XOyTi4HMepykzBZtLaboL81-2_c" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "6d4efea3-c3ff-42ff-9f10-7e8f3f8662b7",
"url": "/v2/stacks/6d4efea3-c3ff-42ff-9f10-7e8f3f8662b7",
"created_at": "2016-06-08T16:41:21Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "cflinuxfs4",
"description": "cflinuxfs4"
}
}
Headers