Userยถ

User - Getยถ

HTTP Request

GET /api/v1/users/{id}

๐Ÿ“‹ Description: Retrieves detailed information about a specific user identified by their unique ID, enabling effective user management and support within the organization.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseUserDto

User - Updateยถ

HTTP Request

PUT /api/v1/users/{id}

๐Ÿ“‹ Description: Updates the details of a specified user, allowing for modifications to user information such as name, email, and role, ensuring that user data remains current and accurate within the system.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

UserDto

true

Request body containing the updated user information, including personal details and role assignments, to ensure accurate user management within the organization.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseUserDto

User - Patchยถ

HTTP Request

PATCH /api/v1/users/{id}

๐Ÿ“‹ Description: Updates the user information for the specified user ID, allowing for modifications to attributes such as name, email, and role to ensure accurate and current user data management.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

JsonPatch

true

Request body containing the user profile information, including updated attributes such as name, email, and role, to ensure accurate user management.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListUserDto

User - Bulk Updateยถ

HTTP Request

PUT /api/v1/users/bulk

๐Ÿ“‹ Description: Updates multiple user records in a single request, allowing for efficient management of user data within the organization.

Parameters

Name

In

Type

Required

Description

body

body

UserDto

true

Request body containing an array of user objects with details such as user IDs, roles, and attributes for bulk updates to user profiles.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListUserDto

User - Find By Usernamesยถ

HTTP Request

POST /api/v1/users/search/usernames

Parameters

Name

In

Type

Required

Description

body

body

array[string]

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[UserDto]

false

none

[Data transfer object representing a user profile, encapsulating essential attributes such as user identification, contact information, and role within the organization to facilitate user management and access control.]

ยป id

integer(int64)

false

none

Unique identifier for the resource

ยป accountId

integer(int64)

false

none

Unique identifier for the account

ยป fullName

string

false

none

Full name of the resource

ยป firstName

string

false

none

Name of the first

ยป lastName

string

false

none

Name of the last

ยป username

string

true

none

Represents the unique username associated with a user account, essential for authentication and user identification within the system.

ยป email

string

false

none

Email address of the user, used for communication and account verification purposes within the system.

ยป accountName

string

false

none

Name of the account

ยป profile

string

false

none

Represents the userโ€™s profile information, providing essential details for personalized interactions within the application.

User - Register Current Userยถ

HTTP Request

POST /api/v1/users/register/current

๐Ÿ“‹ Description: Creates a new user account for the current session, facilitating seamless onboarding and access to platform features.

Responses

Status

Meaning

Description

Schema

200

OK

OK

UserDto

User - Register Userยถ

HTTP Request

POST /api/v1/users/register

๐Ÿ“‹ Description: Registers a new user by submitting their details, facilitating account creation and access to platform features.

Parameters

Name

In

Type

Required

Description

body

body

UserDto

true

Request body containing the user registration information, including essential details such as username, password, email, and any relevant profile data.

Responses

Status

Meaning

Description

Schema

200

OK

OK

UserDto

User - Get User Detailsยถ

HTTP Request

GET /api/v1/users/details

๐Ÿ“‹ Description: Fetches detailed information about users within the system, enabling businesses to access essential user data for management and analysis.

Responses

Status

Meaning

Description

Schema

200

OK

OK

NakisaUserDetails

User - Get Current Userยถ

HTTP Request

GET /api/v1/users/current

๐Ÿ“‹ Description: Fetches the details of the currently authenticated user, providing essential information for personalized user experiences and account management.

Responses

Status

Meaning

Description

Schema

200

OK

OK

UserDto

User - Find Allยถ

HTTP Request

GET /api/v1/users

๐Ÿ“‹ Description: Retrieves a list of users within the system, enabling organizations to manage user access and roles effectively.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

true

Indicates whether the response should be paginated, allowing users to retrieve user data in manageable segments for improved performance and usability.

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageUserDto