GetDashboardWidgetImage
    • PDF

    GetDashboardWidgetImage

    • PDF

    Article Summary

    개요

    Dashboard와 Widget을 지정하여, 해당 Dashboard Widget의 Data를 PNG 파일 형태로 다운로드합니다. (이미지 크기: 800*600)

    요청

    API URL

    URL: https://cw.apigw.fin-ntruss.com/cw_fea/real/cw/api/chart/dashboard/{dashboardId}/widgets/{widgetId}?startTime={startTime}&endTime={endTime}
    Method: GET
    

    요청 헤더

    공통 설정에 명시된 요청헤더가 필요합니다.

    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    x-ncp-dmn_cd: FIN
    

    요청 파라미터

    파라미터명파라미터 종류필수 여부타입제약사항설명
    dashboardIdpathYString다운로드 하고자 하는 Widget이 포함된 Dashboard ID
    widgetIdpathYString다운로드 하고자 하는 Widget ID
    startTimequeryYLong대시보드 표기 시작시간 in milliseconds
    endTimequeryYLong대시보드 표기 종료시간 in milliseconds
    widgetResolutionModequeryNStringAUTO, HIGH, default: AUTO조회 간격(Interval) 설정 옵션.
    AUTO 일 경우 콘솔 대시보드와 동일한 조회 간격으로 조회하고, HIGH 일 경우 콘솔 대시보드와 다른 조회 간격으로 데이터를 더 자세히 조회

    예시

    요청 예시

    GET /cw_fea/real/cw/api/chart/dashboard/df_457958429047263232/widgets/avg_cpu_used_rto__457958429047263232?startTime=1650261600000&endTime=1650358800000
    Host: cw.apigw.fin-ntruss.com
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    x-ncp-dmn_cd: FIN
    

    응답 예시

    오류 없이 조회가 완료된 경우 HTTP code 200이 반환되며, 확장자를 .png로 하는 output file을 지정하면 해당 파일 이름으로 Widget 이미지가 다운로드됩니다.
    image.png


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

    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.