CameraImage Schema
Nest Cam (legacy)
sdm.devices.traits.CameraImage
This trait belongs to any device that supports taking images.
Fields
| Field | Description | Data Type |
|---|---|---|
maxImageResolution
|
Maximum image resolution that is supported. | ImageResolution
|
ImageResolution (maxImageResolution)
| Field | Description | Data Type |
|---|---|---|
width
|
Maximum image resolution width. May also be used as a query parameter in the download URL. | int32
Example: 1280 |
height
|
Maximum image resolution height. May also be used as a query parameter in the download URL. | int32
Example: 960 |
Sample GET request and response
Request
GET /enterprises/ project-id /devices/ device-id
Response
{
"name" : "enterprises/ project-id
/devices/ device-id
",
"traits" : {
" sdm.devices.traits.CameraImage
" : {
"maxImageResolution" : {
"width" : 1280,
"height" : 960
}
}
}
}
Commands
There are no commands available for this trait.
Errors
See the API Error Code Reference for the full list of API error codes.


