Retrieve a Particular Stack
GET /v2/stacks/:guid
Request
Route
GET /v2/stacks/a56cfc4d-f376-4913-9126-edd5354b3c22
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/a56cfc4d-f376-4913-9126-edd5354b3c22" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNCIsImVtYWlsIjoiZW1haWwtMTMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDN9.pqxiVvs205t13_JRJgn9jpHkuV0wdhCuub7sIQhzbxM" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "a56cfc4d-f376-4913-9126-edd5354b3c22",
"url": "/v2/stacks/a56cfc4d-f376-4913-9126-edd5354b3c22",
"created_at": "2015-09-30T23:30:38Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "cflinuxfs2"
}
}
Headers