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/27a9481e-b2ed-41c5-b852-d74af3e9a16c
cURL
curl "https://api.[your-domain.com]/v2/stacks/27a9481e-b2ed-41c5-b852-d74af3e9a16c" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNyIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNTc1NDEzNX0.pq1p3NCToc7YDZw8DcNTgWuEE9satqLKIyFPfyRkxRk" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "27a9481e-b2ed-41c5-b852-d74af3e9a16c",
"url": "/v2/stacks/27a9481e-b2ed-41c5-b852-d74af3e9a16c",
"created_at": "2014-11-05T01:02:06+00:00",
"updated_at": null
},
"entity": {
"name": "lucid64",
"description": "Ubuntu 10.04 on x86-64"
}
}