mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 20:24:54 +00:00
subspace endpoints
This commit is contained in:
@ -155,4 +155,26 @@ export class ControllerRoute {
|
||||
'Deletes a specific subspace within a given space and community.';
|
||||
};
|
||||
};
|
||||
|
||||
static SUBSPACE_DEVICE = class {
|
||||
public static readonly ROUTE =
|
||||
'/communities/:communityUuid/spaces/:spaceUuid/subspaces/:subSpaceUuid/devices';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly LIST_SUBSPACE_DEVICE_SUMMARY =
|
||||
'List devices in a subspace';
|
||||
public static readonly LIST_SUBSPACE_DEVICE_DESCRIPTION =
|
||||
'Retrieves a list of all devices associated with a specified subspace.';
|
||||
|
||||
public static readonly ASSOCIATE_SUBSPACE_DEVICE_SUMMARY =
|
||||
'Associate a device to a subspace';
|
||||
public static readonly ASSOCIATE_SUBSPACE_DEVICE_DESCRIPTION =
|
||||
'Associates a device with a specific subspace, enabling it to be managed within that subspace context.';
|
||||
|
||||
public static readonly DISASSOCIATE_SUBSPACE_DEVICE_SUMMARY =
|
||||
'Disassociate a device from a subspace';
|
||||
public static readonly DISASSOCIATE_SUBSPACE_DEVICE_DESCRIPTION =
|
||||
'Removes the association of a device from a specific subspace, making it no longer managed within that subspace.';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user