mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 17:47:28 +00:00
push automation details and update automation
This commit is contained in:
@ -129,7 +129,7 @@ abstract class ApiEndpoints {
|
||||
|
||||
static const String assignDeviceToRoom = '$baseUrl/device/room';
|
||||
|
||||
/// Scene API ////////////////////
|
||||
/// Scene & Automation API ////////////////////
|
||||
/// POST
|
||||
static const String createScene = '$baseUrl/scene/tap-to-run';
|
||||
static const String triggerScene =
|
||||
@ -142,9 +142,16 @@ abstract class ApiEndpoints {
|
||||
|
||||
static const String getScene = '$baseUrl/scene/tap-to-run/details/{sceneId}';
|
||||
|
||||
static const String getUnitAutomation = '$baseUrl/automation/{unitUuid}';
|
||||
|
||||
static const String getAutomationDetails = '$baseUrl/automation/details/{automationId}';
|
||||
|
||||
/// PUT
|
||||
static const String updateScene = '$baseUrl/scene/tap-to-run/{sceneId}';
|
||||
|
||||
static const String updateAutomation =
|
||||
'$baseUrl/automation/{automationId}';
|
||||
|
||||
/// DELETE
|
||||
static const String deleteScene =
|
||||
'$baseUrl/scene/tap-to-run/{unitUuid}/{sceneId}';
|
||||
|
Reference in New Issue
Block a user