가상 디바이스 목록 조회
    • PDF

    가상 디바이스 목록 조회

    • PDF

    Article Summary

    개요

    가상 디바이스 목록을 조회합니다

    요청

    요청 URL

    GET {CLOUD_IOT_CORE_API_URL}/devices
    
    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}
    

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    pageNoint페이지 번호. 기본값 : 0
    sizeNoint결과 목록 크기. 기본값: 10

    응답

    응답 바디

    {
        "status": "string",
        "body": {
            "content": [
                {
                    "name": "string",
                    "description": "string",
                    "modifyTime": "localDateTime",
                    "registerTime": "localDateTime"
                }
            ],
            "page": {
                "size": "long",
                "totalElements": "long",
                "totalPages": "long",
                "number": "long"
            }
        }
    }
    
    항목타입설명
    statusstring응답 성공 여부
    body.content[].namestring가상 디바이스 이름
    body.content[].descriptionstring가상 디바이스 설명
    body.content[].modifyTimelocalDateTime가상 디바이스 수정날짜
    body.content[].registerTimelocalDateTime가상 디바이스 생성날짜

    예시

    {
        "status": "SUCCESS",
        "body": {
            "content": [
                {
                    "name": "bulb",
                    "description": "",
                    "modifyTime": "2019-04-24 19:23:14",
                    "registerTime": "2019-04-24 19:23:14"
                }
            ],
            "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.