created prototype of tasks for device and dialog, that shows all tasks for admin per each device
This commit is contained in:
@@ -38,7 +38,7 @@ type CreateTaskDto struct {
|
||||
Type models.DeviceTaskType `json:"type" binding:"required,oneof=start_stream stop_stream start_recording stop_recording update_config set_deep_sleep"`
|
||||
// Pass raw JSON string as payload (e.g. {"sleepTimeout":5,"jitterMs":50,"recordingDurationSec":60})
|
||||
// Keep it string to let device/server evolve freely.
|
||||
Payload string `json:"payload" binding:"required"`
|
||||
Payload string `json:"payload"`
|
||||
}
|
||||
|
||||
// Device polls: single next task
|
||||
|
||||
Reference in New Issue
Block a user