mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 11:34:55 +00:00
Refactor API endpoint for getting device reports and fix the record title
This commit is contained in:
@ -126,8 +126,7 @@ abstract class ApiEndpoints {
|
||||
static const String gatewayApi = '/devices/gateway/{gatewayUuid}/devices';
|
||||
static const String deviceFunctionsStatus =
|
||||
'/devices/{deviceUuid}/functions/status';
|
||||
static const String powerClamp =
|
||||
'/devices/{deviceUuid}/functions/status';
|
||||
static const String powerClamp = '/devices/{deviceUuid}/functions/status';
|
||||
|
||||
///Device Permission Module
|
||||
//POST
|
||||
@ -233,4 +232,6 @@ abstract class ApiEndpoints {
|
||||
static const String getPermission = '/permission/{roleUuid}';
|
||||
static const String getAllDevices =
|
||||
'/projects/{projectUuid}/communities/{communityUuid}/spaces/{spaceUuid}/devices';
|
||||
|
||||
static const String getReportLogs = '/devices/{uuid}/report-logs?code={code}';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user