Skip to content

User Guide

Authentication API

  • POST /api/authService/auth/signin: Sign in a user.
  • POST /api/authService/auth/logout: Log out a user.
  • POST /api/authService/auth: Create a new user.
  • GET /api/authService/auth/all: Get all users.
  • GET /api/authService/auth/me: Get the authenticated user's details.
  • GET /api/authService/auth/:user: Get a specific user's details.
  • DELETE /api/authService/auth/:user: Delete a user.
  • POST /api/authService/auth/me/password: Change the authenticated user's password.
  • POST /api/authService/auth/:user/password/admin: Change a user's password as an admin.

Role API

  • POST /api/authService/role: Create a new role.
  • GET /api/authService/role/all: Get all roles.
  • GET /api/authService/role/:roleid: Get a specific role's details.
  • DELETE /api/authService/role/:roleid: Delete a role.
  • POST /api/authService/role/createTable: Create the roles table.

Service API

  • POST /api/authService/service/table: Create the services table.
  • POST /api/authService/service: Register a new service.
  • GET /api/authService/service: Get all services.
  • GET /api/authService/service/:id: Get a specific service's details.
  • PUT /api/authService/service/:id: Update a service's details.
  • DELETE /api/authService/service/:id: Delete a service.