Query device image

Used to query image json files of a device.

Request Syntax

GET /mqtt/v1/devices/{device_id}/image
Authorization:xxxx

Return Syntax

{
    "request_id": "b0a25c65-0299-4260-a849-5861adf07fd5",
    "code": "000000",
    "code_no": "onenet_common_success",
    "message": null,
    "data": {
        "deviceId": "536444692",
        "createTime": 1563929740,
        "status": "enabled",
        "statusReason": "created",
        "statusUpdateTime": 0,
        "connectionState": "offline",
        "lastActivityTime": 0,
        "tags": {},
        "properties": {
            "state": {
                "reported": {
                    "color": "red"
                },
                "desired": {
                    "color": "green"
                },
                "delta": {
                    "color": "green"
                }
            },
            "metadata": {
                "reported": {
                    "color": {
                        "timestamp": 1564685309
                    }
                },
                "desired": {
                    "color": {
                        "timestamp": 1564685309
                    }
                }
            },
            "version": 9,
            "timestamp": 1565007250
        }
    }
}

Where: data part refers to image json data.

More help

Scan the error codes returned by AP

个搜索结果,搜索内容 “

    0 个搜索结果,搜索内容 “