# Rootline API ## API Docs - Auth [Register customer account](https://api-backend.root-line.tech/register-customer-account-46495113e0.md): Creates a new customer account, returns a session token, and sets the session cookie. - Auth [User sign-in](https://api-backend.root-line.tech/user-sign-in-46495114e0.md): Authenticates credentials, returns a bearer session token, and sets the session cookie. - Auth [User sign-out](https://api-backend.root-line.tech/user-sign-out-46495115e0.md): Invalidates the active session token in database and clears the session cookie. - Auth [Current session information](https://api-backend.root-line.tech/current-session-information-46495116e0.md): Retrieves the authenticated user profile and active session details. - Users [Get current user profile](https://api-backend.root-line.tech/get-current-user-profile-46495117e0.md): Retrieves profile details for the currently logged in user. - Users [Update current user profile](https://api-backend.root-line.tech/update-current-user-profile-46495118e0.md): Updates mutable fields (name, image) of the logged in user profile. Unknown fields are rejected. - Admin - Users [List and search users](https://api-backend.root-line.tech/list-and-search-users-46495119e0.md): Search and paginate users by name, email, role, and active/banned status. Restricted to ADMIN. - Admin - Users [Activate or deactivate user account](https://api-backend.root-line.tech/activate-or-deactivate-user-account-46495120e0.md): Ban (deactivate) or unban (activate) user account. Immediately revokes sessions. Admins cannot deactivate themselves or the last remaining admin. - Addresses [List user shipping addresses](https://api-backend.root-line.tech/list-user-shipping-addresses-46495121e0.md): Retrieves all shipping addresses belonging to the authenticated user, ordered by default first. - Addresses [Create shipping address](https://api-backend.root-line.tech/create-shipping-address-46495122e0.md): Creates a new shipping address. If marked default, any previous default is unset transactionally. - Addresses [Update shipping address](https://api-backend.root-line.tech/update-shipping-address-46495123e0.md): Updates an existing shipping address. If marked default, other addresses are updated transactionally. - Addresses [Delete shipping address](https://api-backend.root-line.tech/delete-shipping-address-46495124e0.md): Deletes a shipping address belonging to the authenticated user. - Health [Health check](https://api-backend.root-line.tech/health-check-46495125e0.md): Performs an application health check verifying database reachability. - [Get application info and docs route](https://api-backend.root-line.tech/get-application-info-and-docs-route-46495112e0.md): ## Schemas - [AppInfoResponseDto](https://api-backend.root-line.tech/appinforesponsedto-18637781d0.md): - [RegisterDto](https://api-backend.root-line.tech/registerdto-18637782d0.md): - [AuthResponseDto](https://api-backend.root-line.tech/authresponsedto-18637783d0.md): - [ErrorResponseDto](https://api-backend.root-line.tech/errorresponsedto-18637784d0.md): - [LoginDto](https://api-backend.root-line.tech/logindto-18637785d0.md): - [SignOutResponseDto](https://api-backend.root-line.tech/signoutresponsedto-18637786d0.md): - [SessionResponseDto](https://api-backend.root-line.tech/sessionresponsedto-18637787d0.md): - [UserProfileDto](https://api-backend.root-line.tech/userprofiledto-18637788d0.md): - [UpdateProfileDto](https://api-backend.root-line.tech/updateprofiledto-18637789d0.md): - [AdminUserListResponseDto](https://api-backend.root-line.tech/adminuserlistresponsedto-18637790d0.md): - [AdminUpdateUserStatusDto](https://api-backend.root-line.tech/adminupdateuserstatusdto-18637791d0.md): - [AdminUserItemDto](https://api-backend.root-line.tech/adminuseritemdto-18637792d0.md): - [AddressResponseDto](https://api-backend.root-line.tech/addressresponsedto-18637793d0.md): - [CreateAddressDto](https://api-backend.root-line.tech/createaddressdto-18637794d0.md): - [UpdateAddressDto](https://api-backend.root-line.tech/updateaddressdto-18637795d0.md): - [DeleteAddressResponseDto](https://api-backend.root-line.tech/deleteaddressresponsedto-18637796d0.md):