getCloudHadoopBucketList
- Print
- PDF
getCloudHadoopBucketList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.
Overview
Gets Object Storage buckets used in Cloud Hadoop.
Request
Request Parameters
Parameter | Description | Required | Default value | Available values | Data type |
---|---|---|---|---|---|
regionNo | Region number | N | 1 | [1] for KR Region | String |
Request Header
Refer to Cloud Hadoop API Guide
Response
Success
{
"getCloudHadoopBucketListResponse": {
"requestId": "<api-call-request-id>",
"returnCode": "0",
"totalRows": <response-list-length>,
"bucketList": [
{
"bucketName": "<object-storage-bucket-name>"
},
]
}
}
Authentication failed
{
"error": {
"errorCode": "<return-code>",
"message": "<return-message>"
}
}
Bad parameter
{
"responseError": {
"returnCode": "<return-code>",
"returnMessage": "<return-message>"
}
}
Examples
Request Example
curl -i -X GET \
-H "x-ncp-apigw-timestamp:1505290625682" \
-H "x-ncp-iam-access-key:D78BB444D6D3C84CA38A" \
-H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \
"https://ncloud.apigw.ntruss.com/hadoop/v2/getCloudHadoopBucketList"
Request Example
{
"getCloudHadoopBucketListResponse": {
"requestId": "65ae53a3-d027-45cb-b5de-3b574c108479",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 2,
"bucketList": [
{
"bucketName": "user-bucket-1"
},
{
"bucketName": "user-bucket-2"
}
]
}
}
Was this article helpful?