getObjectStorageBucketDetail
    • PDF

    getObjectStorageBucketDetail

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    Notebook 연동 버킷의 상세정보를 확인합니다.

    요청

    요청 헤더

    공통 가이드 참조

    요청 바디

    • JSON
        {
            "bucketName": "string"
        }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
            <GetBucketDetailRequest>
                <bucketName>string</bucketName>
            </GetBucketDetailRequest>
      

    응답

    응답 바디

    • JSON
        {
            "success": true,
            "message": "success",
            "name": "string",
            "resourceId": "string",
            "objectCount": 0,
            "bytesUsed": 0,
            "bucketProtectionState": "string",
            "storageLocation": "string",
            "staticWebsiteEnabled": true,
            "sseKmsEnabled": true,
            "createdAt": "2023-11-20T05:03:57.736Z"
          }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
            <GetBucketDetailResponse>
                    <success>true</success>
                    <message>success</message>
                    <name>string</name>
                    <resourceId>string</resourceId>
                    <objectCount>0</objectCount>
                    <bytesUsed>0</bytesUsed>
                    <bucketProtectionState>string</bucketProtectionState>
                    <storageLocation>string</storageLocation>
                    <staticWebsiteEnabled>true</staticWebsiteEnabled>
                    <sseKmsEnabled>true</sseKmsEnabled>
                    <createdAt>2023-11-20T05:07:11.495Z</createdAt>
            </GetBucketDetailResponse>
      

    오류코드

    DataForest 개요 참조

    예시

    요청 예시

    POST http://ctrl.kr.df.beta.naverncp.com/api/v2/notebooks/getObjectStorageBucketDetail
    HOST: ctrl.kr.df.beta.naverncp.com
    Content-Type: application/json
    X-NCP-MBR_NO: 1814'
    X-NCP-REQUEST_TYPE_CODE: CONSOLE
    X-NCP-USER_TYPE: Customer
    X-NCP-AUTH_TOKEN: mymO8sbEsfHbARKic3XDOEvoud650ZqAIFNHxfSD8FKccaS0HqVaRN2tcY9pBAO3Ar1m+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
    {
      "bucketName": "test"
    }
    
    
    curl -X 'POST' \
      'http://ctrl.kr.df.beta.naverncp.com/api/v2/notebooks/getObjectStorageBucketDetail' \
      -H 'accept: application/json' \
      -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/TDpCQDEqkUNmvAsqeGz6LTwTlO0BeIHIdPBufCbARKic3XDOEvoud650ZqAIFNHxfSD8FKccaS0HqVaRN2tcY9pBAO3Ar1m+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 '{
      "bucketName": "test"
    }'
    

    응답 예시

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      {
           "success": true,
          "name": "test",
          "resourceId": "Bucket/dohbot/16431166306",
           "objectCount": 15,
           "bytesUsed": 732787,
          "bucketProtectionState": "DISABLED",
           "storageLocation": "beta-kr01-container",
           "staticWebsiteEnabled": true,
           "sseKmsEnabled": false,
           "createdAt": "2022-01-25T21:06:06.306"
      

    }
    ```


    이 문서가 도움이 되었습니까?

    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.