View property template list
- Print
- PDF
View property template list
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Summary
Views property template list
Request
Request URL
GET {CLOUD_IOT_CORE_API_URL}/propertytemplates
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}
Request parameters
Parameter name | Required status | Type | Restrictions | Description |
---|---|---|---|---|
page | No | int | Page number. Default: 0 | |
size | No | int | Size of result list. Default: 10 |
Response
Response body
{
"status": "string",
"body": {
"content": [
{
"name": "string",
"key": ["string"],
"modifyTime": "localDateTime",
"registerTime": "localDateTime"
}
],
"page": {
"size": "long",
"totalElements": "long",
"totalPages": "long",
"number": "long"
}
}
}
Category | Type | Description |
---|---|---|
status | string | Indicates whether response was successful |
body.content[].name | string | Property template name |
body.content[].key | list[string] | Property template key |
body.content[].modifyTime | localDateTime | Property template modified date |
body.content[].registerTime | localDateTime | Property template creation date |
Example
{
"status": "SUCCESS",
"body": {
"content": [
{
"name": "bulb_template",
"key": ["lux", "ampere"],
"modifyTime": "2019-04-24 19:23:14",
"registerTime": "2019-04-24 19:23:14"
}
],
"page": {
"size": 10,
"totalElements": 1,
"totalPages": 1,
"number": 0
}
}
}
Was this article helpful?