Last Updated on : 2023-06-20 14:54:08
Trigger a camera to capture an image. The captured image is pushed to the requester through a message.
POST: /v1.0/cameras/{device_id}/actions/capture
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
Parameter name | Type | Description |
---|---|---|
result | CmdIssueResultResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn | String | The ID of a specified command record. |
POST: /v1.0/cameras/bc1***/actions/capture
{
"result": {
"sn": "10000333222***"
},
"t": 1573441137,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback