버킷 목록 조회
    • PDF

    버킷 목록 조회

    • PDF

    Article Summary

    설명

    Object Storage Bucket 목록을 조회합니다.

    요청

    요청 URL

    GET https://cloudloganalytics.apigw.fin-ntruss.com/api/{regionCode}-v1/export/buckets
    

    요청 헤더

    헤더명설명
    x-ncp-apigw-timestamp1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 나타내며
    API Gateway 서버와 시간 차가 5분 이상 나는 경우 유효하지 않은 요청으로 간주
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-apigw-api-keyAPIGW에서 발급받은 키 값
    x-ncp-apigw-api-key:{API Gateway API Key}
    x-ncp-iam-access-key네이버 클라우드 플랫폼 포털에서 발급받은 Access Key ID 값
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2Access Key ID 값과 Secret Key로 암호화한 서명
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeRequest body content type을 application/json으로 지정
    Content-Type: application/json

    예시

    요청 예시

    GET https://cloudloganalytics.apigw.fin-ntruss.com/api/{regionCode}-v1/export/buckets
    HOST: cloudloganalytics.apigw.fin-ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: FJSBB4K3XnaGAvVe0Hzj3/2hfNWvgLHR1rQHW2Et2Rs=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo
    
    curl -X GET "https://cloudloganalytics.apigw.fin-ntruss.com/api/{regionCode}-v1/export/buckets" 
    -H "accept: application/json" 
    -H "x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo" 
    -H "x-ncp-apigw-timestamp: 1594097882076" 
    -H "x-ncp-apigw-signature-v2: C4UtVYSM5piak/sj0KFFkS7F4tP9Cb3nei05xKIThzk=" 
    

    응답 예시

    {
      "code": 0,
      "message": "요청이 정상적으로 처리되었습니다",
      "result": {
        "memberNo": "758",
        "returnCode": null,
        "subAccountNo": null,
        "returnMsg": null,
        "boxUsage": null,
        "regionNo": "1",
        "bucketList": [
          {
            "name": "asdcx",
            "bytesUsed": 22190037601,
            "storageLocation": "kr01-container",
            "objectCount": 1728,
            "creationTime": 1590399354035
          }
        ]
      }
    }
    

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

    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.