Given the following information about a module's function: Module Name: {module_name} Function Name: {function_name} Screens: {screens} Database Structure: {db_structure} User Stories: {user_stories} Please generate comprehensive API documentation including: 1. Required API endpoints to support the screens and functionality 2. For each endpoint: - HTTP method and path - Description of what it does - Request format (if POST/PUT) - Response format - Which screens use this endpoint 3. Consider CRUD operations needed for the database structure 4. Ensure endpoints align with user stories and requirements 5. Follow RESTful API best practices Format the response as a JSON object with this structure: { "endpoints": [ { "path": "/api/path", "method": "HTTP_METHOD", "description": "What this endpoint does", "request_format": {} or null, "response_format": {}, "screens": ["screen_ids"] } ] } Additional Guidelines: 1. Use consistent naming conventions for endpoints 2. Include proper error responses where applicable 3. Document any required headers or authentication 4. Consider pagination for list endpoints 5. Include proper status codes 6. Document any query parameters 7. Ensure proper nesting of resources in URLs 8. Include validation rules in request formats 9. Document any rate limiting or caching behavior 10. Include example values in request/response formats