mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
Refactor and add new user-related endpoints for projects
This commit is contained in:
@ -22,6 +22,19 @@ export class ControllerRoute {
|
||||
public static readonly DELETE_PROJECT_DESCRIPTION =
|
||||
'This endpoint deletes an existing project by its unique identifier (UUID).';
|
||||
|
||||
public static readonly GET_USERS_BY_PROJECT_SUMMARY =
|
||||
'Get users by project';
|
||||
public static readonly GET_USERS_BY_PROJECT_DESCRIPTION =
|
||||
'This endpoint retrieves all users associated with a specific project.';
|
||||
public static readonly GET_USER_BY_UUID_IN_PROJECT_SUMMARY =
|
||||
'Get user by uuid in project';
|
||||
public static readonly GET_USER_BY_UUID_IN_PROJECT_DESCRIPTION =
|
||||
'This endpoint retrieves a user by their unique identifier (UUID) associated with a specific project.';
|
||||
};
|
||||
};
|
||||
static PROJECT_USER = class {
|
||||
public static readonly ROUTE = '/projects/:projectUuid/user';
|
||||
static ACTIONS = class {
|
||||
public static readonly GET_USERS_BY_PROJECT_SUMMARY =
|
||||
'Get users by project';
|
||||
public static readonly GET_USERS_BY_PROJECT_DESCRIPTION =
|
||||
|
Reference in New Issue
Block a user