ListRecentCertChanges

Prev Next

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

지정한 기간(분 또는 초) 동안 상태가 변경된 인증서 목록을 조회합니다.

요청

요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

메서드 URI
GET /api/v2/certificate/recentChanges

요청 헤더

Certificate Manager API에서 공통으로 사용하는 헤더에 대한 정보는 Certificate Manager 요청 헤더를 참조해 주십시오.

요청 쿼리 파라미터

요청 쿼리 파라미터에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
minutes Integer Conditional 최근 N 분 동안 상태가 변경된 요청으로 결과 제한
  • 1~10080
seconds Integer Conditional 최근 N 초 동안 상태가 변경된 요청으로 결과 제한
  • 1~604800
startDateTime String Conditional 조회 시작 일시
  • endDateTime과 함께 지정
endDateTime String Conditional 조회 종료 일시
  • startDateTime과 함께 지정

minutes, seconds, (startDateTime + endDateTime) 중 하나는 반드시 지정해야 합니다. 모두 생략하면 응답 코드 2101로 요청이 거부됩니다.
minutes와 seconds를 동시에 지정하면 오류 없이 0건이 반환되므로 하나만 지정해 주십시오.

요청 예시

요청 예시는 다음과 같습니다.

curl --location --request GET 'https://certificatemanager.apigw.ntruss.com/api/v2/certificate/recentChanges?minutes=60' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Content-Type: application/json' \
--header 'accept: application/json'

응답

응답 형식을 설명합니다.

응답 바디

응답 바디에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
returnCode String - 응답 코드
returnMessage String - 응답 메시지
totalCount Integer - 조회된 목록의 총 개수
orders Array - 요청 목록: orders

orders

orders에 대한 설명은 다음과 같습니다.

필드 타입 필수 여부 설명
orderId String - 조직 번호
certificateId Integer - 인증서 번호
status String - 검증 상태
  • Normal | Ongoing | Validation timed out
    • Normal: 검증 완료
    • Ongoing: 검증 진행 중
    • Validation timed out: 검증 시간 만료

응답 상태 코드

Certificate Manager API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Certificate Manager 응답 상태 코드를 참조해 주십시오.

응답 예시

응답 예시는 다음과 같습니다.

{
    "returnCode": "0",
    "returnMessage": "Success",
    "totalCount": 2,
    "orders": [
        {
            "orderId": "410",
            "certificateId": 55991,
            "status": "Ongoing"
        },
        {
            "orderId": "447",
            "certificateId": 55990,
            "status": "Ongoing"
        }
    ]
}