getObjectStorageBucketList
    • PDF

    getObjectStorageBucketList

    • PDF

    Article summary

    Available in VPC

    Checks the list of Notebook integration bucket.

    Requests

    Request headers

    See common guide

    Request bodies

    • JSON
        {}
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
            <GetBucketListRequest>
            </GetBucketListRequest>
      

    Responses

    Response bodies

    • JSON
        {
            "success": true,
             "message": "success",
            "total": 0,
            "contents": [
                {
                "name": "string",
                "resourceId": "string",
                "objectCount": 0,
                "bytesUsed": 0,
                "bucketProtectionState": "string",
                "createdAt": "2023-11-20T05:42:04.547Z",
                "disabled": true
                }
            ]
            }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
        <GetBucketListResponse>
                <success>true</success>
                <message>success</message>
                <total>0</total>
                <contents>
        	        <name>string</name>
        	        <resourceId>string</resourceId>
        	        <objectCount>0</objectCount>
        	        <bytesUsed>0</bytesUsed>
        	        <bucketProtectionState>string</bucketProtectionState>
        	        <createdAt>2023-11-20T05:43:52.359Z</createdAt>
        	        <disabled>true</disabled>
                </contents>
        </GetBucketListResponse>
      

    Error codes

    See DataForest overview

    Examples

    Request examples

    POST http://ctrl.kr.df.beta.naverncp.com/api/v2/notebooks/getObjectStorageBucketList
    HOST: ctrl.kr.df.beta.naverncp.com
      X-NCP-MBR_NO: 1814
      'X-NCP-REQUEST_TYPE_CODE: CONSOLE
      X-NCP-USER_TYPE: Customer
      X-NCP-AUTH_TOKEN: mymO8sbEsfn12NGz6LTwTlO0BeIHIdPBufCbARKic3XDOEvoud650ZqAIFNHxfSD8FKccaS0HqVaRN2tcY9pBAO3Ar1m+etW/qlNdQhiCCYrHzwAeYAqCS9YOzwiQ4CIW+pmZf9t4fV3aoPDpqWTJRHGc82LK9AR5BPDenzNg==
      X-NCP-IAM-ACCESS-KEY: 17F9A6E9F72BD92ED94B
      X-NCP-REGION_CODE: KR
      X-NCP-LANG: en-US
      X-NCP-USER_REQ_ID: ad3d0dd0-cd48-11ed-afa1-0242ac120002
      Content-Type: application/json
    
    
    curl -X 'POST' \
      'http://ctrl.kr.df.beta.naverncp.com/api/v2/notebooks/getObjectStorageBucketList' \
      -H 'accept: application/xml' \
      -H 'X-NCP-MBR_NO: 1814' \
      -H 'X-NCP-REQUEST_TYPE_CODE: CONSOLE' \
      -H 'X-NCP-USER_TYPE: Customer' \
      -H 'X-NCP-AUTH_TOKEN: mymO8sbEsfH2Zgxdr8kE5xdPrsODgcCuuUJM4Ob1rMGVovTQdggukVM0dnmA1k2gtIWrlLkqprHf07833+Koa9Lzj2ccvC6F1M50/TDp3ZfzYCitm61m3xY56oalcyBFyqCh9lOHMDl5S1d+pSBN+M7TRHfa6n12NGz6LTwTlO0BeIHIdPBufCbARKic3XDOEvoud650ZqAIFNHxfSD8FKccaS0HqVaRN2tcY9pBAO3Ar1m+etW/qlNdQhiCCYrHzwAeYAqCS9YOzwiQ4CIW+pmZf9t4fV3aoPDpqWTJRHGc82LK9AR5BPDenzNg==' \
      -H 'X-NCP-IAM-ACCESS-KEY: 17F9A6E9F72BD92ED94B' \
      -H 'X-NCP-REGION_CODE: KR' \
      -H 'X-NCP-LANG: en-US' \
      -H 'X-NCP-USER_REQ_ID: ad3d0dd0-cd48-11ed-afa1-0242ac120002' \
      -H 'Content-Type: application/json' \
      -d '{}'
    

    Response examples

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      <GetBucketListResponse>
          <success>true</success>
          <total>1</total>
          <contents>
              <name>datacatalog-c2236-1bbd8dac</name>
              <resourceId>Bucket/datacatalog-c2236-1bbd8dac/1698384642666</resourceId>
              <objectCount>1</objectCount>
              <bytesUsed>195488</bytesUsed>
              <bucketProtectionState>DISABLED</bucketProtectionState>
              <createdAt>2023-10-27T14:30:42.666</createdAt>
              <disabled>false</disabled>
          </contents>
      </GetBucketListResponse>
      

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.