가상 디바이스 - 인증서 연결 조회
    • PDF

    가상 디바이스 - 인증서 연결 조회

    • PDF

    Article Summary

    개요

    가상 디바이스 - 인증서 간 연결을 조회합니다.

    요청

    요청 URL

    GET {CLOUD_IOT_CORE_API_URL}/mappings/device-certification
    
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    요청 파라미터

    요청 파라미터로 devicename만을 입력 시, 해당 가상 디바이스의 모든 연결 내역을 반환합니다.
    요청 파라미터로 serialno만을 입력 시, 해당 인증서의 모든 연결 내역을 반환합니다.
    요청 파라미터로 devicename과 serialno을 모두 입력 시, 해당 디바이스과 인증서 간 하나의 연결만을 반환합니다.

    파라미터명필수 여부타입제약 사항설명
    devicenameNostring가상 디바이스 이름
    serialnoNostring인증서 시리얼 번호

    응답

    응답 바디

    {
        "status": "string",
        "body": {
            "content": [
                {
                    "deviceName": "string",
                    "serialNo": "string",
                    "registerTime": "localDateTime"
                }
            ],
            "page": {
                "size": "long",
                "totalElements": "long",
                "totalPages": "long",
                "number": "long"
            }
        }
    }
    
    항목타입설명
    statusstring응답 성공 여부
    body.content[].deviceNamestring연결된 가상 디바이스 이름
    body.content[].serialNostring연결된 인증서 시리얼번호
    body.content[].registerTimelocalDateTime가상 디바이스 - 인증서 간 연결날짜

    예시

    {
        "status": "SUCCESS",
        "body": {
            "content": [
                {
                    "deviceName": "bulb",
                    "serialNo": "7d:94:1c:b1:be:0a:da:b1:c2:20:32:e9:a4:c4:51:f1:56:a3:b1:71",
                    "registerTime": "2020-09-11 14:22:48"
                }
            ],
            "page": {
                "size": 10,
                "totalElements": 1,
                "totalPages": 1,
                "number": 0
            }
        }
    }
    

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

    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.