POST /api/modules
Creates a new module with the specified name, path, and optional icon.Authentication
Requires authentication with valid JWT token.Request Body
Module name (maximum 100 characters)
Module path, must start with ’/’ (maximum 200 characters)
Optional icon identifier (maximum 100 characters)
Response
Unique identifier for the module
Module name
Module path
Module icon identifier
Module status (e.g., ACTIVE, INACTIVE)
Status Codes
- 201 Created - Module created successfully
- 400 Bad Request - Invalid request data (validation errors)
- 409 Conflict - Module already exists