Retrieve a Particular Stack
GET /v2/stacks/:guid
Request
Route
GET /v2/stacks/995d5f10-3896-436c-abac-aa191453f3ed
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/995d5f10-3896-436c-abac-aa191453f3ed" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMiIsImVtYWlsIjoiZW1haWwtMjE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjF9.IBuZYnX_1DSehkuxXTcEwhetM3BRfe0Z0nC0_jUlYWk" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "995d5f10-3896-436c-abac-aa191453f3ed",
"url": "/v2/stacks/995d5f10-3896-436c-abac-aa191453f3ed",
"created_at": "2016-05-12T00:45:10Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "cflinuxfs2"
}
}
Headers