mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 09:45:22 +00:00
remove real time
This commit is contained in:
@ -23,7 +23,7 @@ abstract class ApiEndpoints {
|
||||
static const String communityChild = '/community/child/{communityUuid}';
|
||||
static const String communityUser = '/community/user/{userUuid}';
|
||||
//PUT
|
||||
static const String renameCommunity = '/community/rename/{communityUuid}';
|
||||
static const String renameCommunity = '/community/{communityUuid}';
|
||||
|
||||
///Building Module
|
||||
//POST
|
||||
@ -35,7 +35,7 @@ abstract class ApiEndpoints {
|
||||
static const String buildingParent = '/building/parent/{buildingUuid}';
|
||||
static const String buildingUser = '/building/user/{userUuid}';
|
||||
//PUT
|
||||
static const String renameBuilding = '/building/rename/{buildingUuid}';
|
||||
static const String renameBuilding = '/building/{buildingUuid}';
|
||||
|
||||
///Floor Module
|
||||
//POST
|
||||
@ -47,7 +47,7 @@ abstract class ApiEndpoints {
|
||||
static const String floorParent = '/floor/parent/{floorUuid}';
|
||||
static const String floorUser = '/floor/user/{userUuid}';
|
||||
//PUT
|
||||
static const String renameFloor = '/floor/rename/{floorUuid}';
|
||||
static const String renameFloor = '/floor/{floorUuid}';
|
||||
|
||||
///Unit Module
|
||||
//POST
|
||||
@ -62,7 +62,7 @@ abstract class ApiEndpoints {
|
||||
static const String verifyInvitationCode = '/unit/user/verify-code';
|
||||
|
||||
//PUT
|
||||
static const String renameUnit = '/unit/rename/{unitUuid}';
|
||||
static const String renameUnit = '/unit/{unitUuid}';
|
||||
|
||||
///Room Module
|
||||
//POST
|
||||
@ -73,7 +73,7 @@ abstract class ApiEndpoints {
|
||||
static const String roomParent = '/room/parent/{roomUuid}';
|
||||
static const String roomUser = '/room/user/{userUuid}';
|
||||
//PUT
|
||||
static const String renameRoom = '/room/rename/{roomUuid}';
|
||||
static const String renameRoom = '/room/{roomUuid}';
|
||||
|
||||
///Group Module
|
||||
//POST
|
||||
@ -81,7 +81,8 @@ abstract class ApiEndpoints {
|
||||
static const String controlGroup = '/group/control';
|
||||
//GET
|
||||
static const String groupBySpace = '/group/{unitUuid}';
|
||||
static const String devicesByGroupName = '/group/{unitUuid}/devices/{groupName}';
|
||||
static const String devicesByGroupName =
|
||||
'/group/{unitUuid}/devices/{groupName}';
|
||||
|
||||
static const String groupByUuid = '/group/{groupUuid}';
|
||||
//DELETE
|
||||
@ -93,7 +94,8 @@ abstract class ApiEndpoints {
|
||||
static const String addDeviceToRoom = '/device/room';
|
||||
static const String addDeviceToGroup = '/device/group';
|
||||
static const String controlDevice = '/device/{deviceUuid}/control';
|
||||
static const String firmwareDevice = '/device/{deviceUuid}/firmware/{firmwareVersion}';
|
||||
static const String firmwareDevice =
|
||||
'/device/{deviceUuid}/firmware/{firmwareVersion}';
|
||||
static const String getDevicesByUserId = '/device/user/{userId}';
|
||||
static const String getDevicesByUnitId = '/device/unit/{unitUuid}';
|
||||
static const String openDoorLock = '/door-lock/open/{doorLockUuid}';
|
||||
@ -103,7 +105,8 @@ abstract class ApiEndpoints {
|
||||
static const String deviceByUuid = '/device/{deviceUuid}';
|
||||
static const String deviceFunctions = '/device/{deviceUuid}/functions';
|
||||
static const String gatewayApi = '/device/gateway/{gatewayUuid}/devices';
|
||||
static const String deviceFunctionsStatus = '/device/{deviceUuid}/functions/status';
|
||||
static const String deviceFunctionsStatus =
|
||||
'/device/{deviceUuid}/functions/status';
|
||||
|
||||
///Device Permission Module
|
||||
//POST
|
||||
@ -128,24 +131,29 @@ abstract class ApiEndpoints {
|
||||
|
||||
static const String getUnitAutomation = '/automation/{unitUuid}';
|
||||
|
||||
static const String getAutomationDetails = '/automation/details/{automationId}';
|
||||
static const String getAutomationDetails =
|
||||
'/automation/details/{automationId}';
|
||||
|
||||
/// PUT
|
||||
static const String updateScene = '/scene/tap-to-run/{sceneId}';
|
||||
|
||||
static const String updateAutomation = '/automation/{automationId}';
|
||||
|
||||
static const String updateAutomationStatus = '/automation/status/{automationId}';
|
||||
static const String updateAutomationStatus =
|
||||
'/automation/status/{automationId}';
|
||||
|
||||
/// DELETE
|
||||
static const String deleteScene = '/scene/tap-to-run/{unitUuid}/{sceneId}';
|
||||
|
||||
static const String deleteAutomation = '/automation/{unitUuid}/{automationId}';
|
||||
static const String deleteAutomation =
|
||||
'/automation/{unitUuid}/{automationId}';
|
||||
|
||||
//////////////////////Door Lock //////////////////////
|
||||
//online
|
||||
static const String addTemporaryPassword = '/door-lock/temporary-password/online/{doorLockUuid}';
|
||||
static const String getTemporaryPassword = '/door-lock/temporary-password/online/{doorLockUuid}';
|
||||
static const String addTemporaryPassword =
|
||||
'/door-lock/temporary-password/online/{doorLockUuid}';
|
||||
static const String getTemporaryPassword =
|
||||
'/door-lock/temporary-password/online/{doorLockUuid}';
|
||||
|
||||
//one-time offline
|
||||
static const String addOneTimeTemporaryPassword =
|
||||
@ -177,7 +185,8 @@ abstract class ApiEndpoints {
|
||||
'/door-lock/temporary-password/online/{doorLockUuid}/{passwordId}';
|
||||
|
||||
static const String saveSchedule = '/schedule/{deviceUuid}';
|
||||
static const String getSchedule = '/schedule/{deviceUuid}?category={category}';
|
||||
static const String getSchedule =
|
||||
'/schedule/{deviceUuid}?category={category}';
|
||||
static const String changeSchedule = '/schedule/enable/{deviceUuid}';
|
||||
static const String deleteSchedule = '/schedule/{deviceUuid}/{scheduleId}';
|
||||
static const String reportLogs =
|
||||
|
Reference in New Issue
Block a user