가상 디바이스 목록 조회
- 인쇄
- PDF
가상 디바이스 목록 조회
- 인쇄
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
개요
가상 디바이스 목록을 조회합니다
요청
요청 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}
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
page | No | int | 페이지 번호. 기본값 : 0 | |
size | No | int | 결과 목록 크기. 기본값: 10 |
응답
응답 바디
{
"status": "string",
"body": {
"content": [
{
"name": "string",
"description": "string",
"modifyTime": "localDateTime",
"registerTime": "localDateTime"
}
],
"page": {
"size": "long",
"totalElements": "long",
"totalPages": "long",
"number": "long"
}
}
}
항목 | 타입 | 설명 |
---|---|---|
status | string | 응답 성공 여부 |
body.content[].name | string | 가상 디바이스 이름 |
body.content[].description | string | 가상 디바이스 설명 |
body.content[].modifyTime | localDateTime | 가상 디바이스 수정날짜 |
body.content[].registerTime | localDateTime | 가상 디바이스 생성날짜 |
예시
{
"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
}
}
}
이 문서가 도움이 되었습니까?