Retrieve a Particular Stack
GET /v2/stacks/:guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
name
|
The name for the stack.
|
|
|
|
description
|
The description for the stack
|
|
|
|
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Stack
|
|
|
Request
Headers
Route
GET /v2/stacks/ad8bde19-f394-43e3-afaa-61a909cb33a9
cURL
curl "https://api.[your-domain.com]/v2/stacks/ad8bde19-f394-43e3-afaa-61a909cb33a9" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyOCIsImVtYWlsIjoiZW1haWwtMTc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzV9.6I-F9ZGWYNX385ls9NJ8nQTwYlEvBenkmWy6r_N3Uvg" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "ad8bde19-f394-43e3-afaa-61a909cb33a9",
"url": "/v2/stacks/ad8bde19-f394-43e3-afaa-61a909cb33a9",
"created_at": "2014-12-24T01:39:32+00:00",
"updated_at": null
},
"entity": {
"name": "lucid64",
"description": "Ubuntu 10.04 on x86-64"
}
}