List Templates

List Templates
Request
URI
GET
https://{api_host}//api/device-templates
COPY

Responses
200
{
    "templates": [
        {
            "imageDetails": [
                {
                    "imageUrl": "string",
                    "id": "string",
                    "sourceType": "string"
                }
            ],
            "name": "string",
            "settings": [
                {
                    "category": "string",
                    "finalSettings": {},
                    "settings": {}
                }
            ],
            "systemProperties": [
                {
                    "name": "string"
                }
            ],
            "allowedMetrics": [
                {
                    "timeInterval": "string",
                    "displayUnit": "string",
                    "displayName": "string",
                    "name": "string",
                    "valueType": "string",
                    "factor": "number",
                    "batchSize": "string"
                }
            ],
            "updateVersion": 0,
            "enrollmentProvider": {
                "providerConfig": "string",
                "type": "string"
            },
            "deviceType": "string",
            "allowedCommands": [
                {
                    "name": "string",
                    "clientId": "string",
                    "command": "string",
                    "asRoot": false,
                    "execPath": "string",
                    "arguments": [
                        {
                            "type": "string",
                            "name": "string",
                            "value": [
                                "string"
                            ]
                        }
                    ]
                }
            ],
            "customProperties": [
                {
                    "name": "string",
                    "value": "string"
                }
            ],
            "lastUpdatedTime": "string",
            "createdTime": "string",
            "orgId": "string",
            "id": "string",
            "childTemplates": [
                "string"
            ]
        }
    ],
    "pageInfo": {
        "totalPages": "string",
        "totalElements": "string",
        "page": 0,
        "pageSize": 0
    }
}
templates
Optional

templates

pageInfo
Optional

pageInfo


404

Not Found

Operation doesn't return any data structure