This command returns Object Storage entries, primarily to create new kinds of object storage buckets such as OpenStack Swift or Amazon S3.
Request
GET http://{hostname}:{port}
/landscaper/rest/cloud/resources/objectBuckets
Accept: application/json
Example
curl -u jsmith:passwd
http://myserver.example.com:8080/landscaper/rest/cloud/resources/objectBuckets
-H "Accept: application/json"
Example response
[
{
"status": "in-use",
"size": 8,
"name": "vol1",
"zone": "us-east-1b",
"id": "vol2",
"icon": "images/editor/Volume_Palette.gif",
"category": "storage"
},
{
"status": "in-use",
"size": 8,
"name": "vol2",
"zone": "us-east-1b",
"id": "vol2",
"icon": "images/editor/Volume_Palette.gif",
"category": "storage"
}
]