Retrieve a Particular Stack
GET /v2/stacks/:guid
Request
Route
GET /v2/stacks/144cef18-ee15-4b50-b00b-7f9901ce3940
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/144cef18-ee15-4b50-b00b-7f9901ce3940" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU5IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg5fQ.fpElVq_f-HiM7eu70h7sjp2ncSVc4hYzOm57_pWkPNA" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "144cef18-ee15-4b50-b00b-7f9901ce3940",
"url": "/v2/stacks/144cef18-ee15-4b50-b00b-7f9901ce3940",
"created_at": "2015-07-27T22:43:05Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "cflinuxfs2"
}
}
Headers