mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
changed endpoint for automation update
This commit is contained in:
@ -69,7 +69,8 @@ abstract class ApiEndpoints {
|
||||
//product
|
||||
static const String listProducts = '/products';
|
||||
static const String getSpaceScenes = '/scene/tap-to-run/{spaceUuid}';
|
||||
static const String getSpaceAutomation = '/projects/{projectId}/communities/{communityId}/spaces/{spaceUuid}/automations';
|
||||
static const String getSpaceAutomation =
|
||||
'/projects/{projectId}/communities/{communityId}/spaces/{spaceUuid}/automations';
|
||||
static const String getIconScene = '/scene/icon';
|
||||
static const String createScene = '/scene/tap-to-run';
|
||||
static const String createAutomation = '/projects/{projectId}/automations';
|
||||
@ -82,7 +83,7 @@ abstract class ApiEndpoints {
|
||||
static const String deleteAutomation = '/projects/{projectId}/automations/{automationId}';
|
||||
static const String updateScene = '/scene/tap-to-run/{sceneId}';
|
||||
|
||||
static const String updateAutomation = '/automation/{automationId}';
|
||||
static const String updateAutomation = '/projects/{projectId}/automations/{automationId}';
|
||||
|
||||
//space model
|
||||
static const String listSpaceModels = '/projects/{projectId}/space-models';
|
||||
|
Reference in New Issue
Block a user