Generate a REST API endpoint in [Node.js/Express / Python/FastAPI / other]. Endpoint: [HTTP method] [route path] What it should do: [describe the functionality] Request body / params: [describe inputs] Expected response: [describe output] Authentication required: [Yes / No] Include: input validation, error handling, and comments explaining key parts.
💡 Has [variables]