Obtaining Information About All Buckets Under an Account
Function
This API is used to obtain all storage buckets of the current account.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/sdg/watermark/buckets
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
limit |
No |
Integer |
limit |
|
offset |
No |
Integer |
offset |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
buckets |
Array of Bucket objects |
OBS bucket list. |
|
total |
Integer |
Total number of OBS buckets. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Obtained. |
|
401 |
Unauthorized. |
|
403 |
Access denied. |
|
404 |
Resource not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot