Cloud Data Streaming Service Version 조회

Prev Next

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

설명

Cloud Data Streaming Service의 버전을 조회합니다.

요청

요청 URL

GET https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getCDSSVersionList [수도권]
GET https://clouddatastreamingservice.apigw.gov-ntruss.com/api/krs-v1/cluster/getCDSSVersionList [남부권]

요청 헤더

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

요청 예시

GET https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getCDSSVersionList
HOST: clouddatastreamingservice.apigw.gov-ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: zq0FrtlU8JZJi9esTK31bCQUNG3H+jo4CMjMkJDoWSc=
x-ncp-apigw-timestamp: 1593848345548
x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw
curl -X GET "https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getCDSSVersionList" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw" \
-H "x-ncp-apigw-timestamp: 1601971222179" \
-H "x-ncp-apigw-signature-v2: zrCelnR48AADdK/uh6Xe3yy468i8KpQoewYHUmeqYh4=" 

응답 파라미터

public class GetCDSSVersionListResponseVo {
    List<KafkaVersion> kafkaVersionList;
}

public class KafkaVersion {
    String kafkaVersionCode;
    String applicationVersionName;
    String kafkaVersionName;
    String cmakVersionName;
}

필드

파라미터명 타입 설명
kafkaVersionList List<KafkaVersion> 사용 가능한 Cloud Data Streaming Service 버전 목록
kafkaVersionCode String Kafka 버전 코드
applicationVersionName String Cloud Data Streaming Service 버전 이름
kafkaVersionName String Kafka 버전 이름
cmakVersionName String CMAK 버전 이름

응답 예시

{
  "code": 0,
  "message": "SUCCESS",
  "result": {
    "kafkaVersionList": [
      {
        "kafkaVersionCode": "2403005",
        "applicationVersionName": "Kafka 2.4.0, CMAK 3.0.0.5",
        "kafkaVersionName": "Kafka 2.4.0",
        "cmakVersionName": "CMAK 3.0.0.5"
      }
    ]
  },
  "requestId": "8b16fa58-547f-4370-b32a-3c7accde9be4"
}