Skip to content

Commit ae78921

Browse files
Merge pull request #217 from leslitagordita/add-get-obj-buckets-cluster
[New] Add GET /object-storage/buckets/{clusterId}
2 parents 8943a02 + f4145d0 commit ae78921

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

openapi.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9833,6 +9833,57 @@ paths:
98339833
curl -H "Authorization: Bearer $TOKEN" \
98349834
-X DELETE \
98359835
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket
9836+
/object-storage/buckets/{clusterId}:
9837+
parameters:
9838+
- name: clusterId
9839+
in: path
9840+
description: The ID of the cluster this bucket exists in.
9841+
required: true
9842+
schema:
9843+
type: string
9844+
get:
9845+
operationId: getObjectStorageBucketinCluster
9846+
x-linode-cli-skip: true
9847+
servers:
9848+
- url: https://api.linode.com/v4
9849+
summary: List Object Storage Buckets in Cluster
9850+
description: |
9851+
Returns a list of Buckets in this cluster belonging to this Account.
9852+
9853+
9854+
This endpoint is available for convenience. It is recommended that instead you
9855+
use the more [fully-featured S3 API](https://docs.ceph.com/docs/mimic/radosgw/s3/bucketops/#get-bucket) directly.
9856+
tags:
9857+
- Object Storage
9858+
security:
9859+
- personalAccessToken: []
9860+
- oauth:
9861+
- object_storage:read_only
9862+
responses:
9863+
'200':
9864+
description: A paginated list of buckets you own in this cluster.
9865+
content:
9866+
application/json:
9867+
schema:
9868+
type: object
9869+
properties:
9870+
data:
9871+
type: array
9872+
items:
9873+
$ref: '#/components/schemas/ObjectStorageBucket'
9874+
page:
9875+
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
9876+
pages:
9877+
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
9878+
results:
9879+
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
9880+
default:
9881+
$ref: '#/components/responses/ErrorResponse'
9882+
x-code-samples:
9883+
- lang: Shell
9884+
source: >
9885+
curl -H "Authorization: Bearer $TOKEN" \
9886+
https://api.linode.com/v4/object-storage/buckets/us-east-1
98369887
/object-storage/buckets/{clusterId}/{bucket}/access:
98379888
parameters:
98389889
- name: clusterId

0 commit comments

Comments
 (0)