Objective: Generate documentation for backend APIs, including endpoints, request/response formats, and authentication requirements.
Instructions:
- Identify the main backend API endpoints in the codebase.
- For each endpoint, document its HTTP method, URL path, and purpose.
- Specify the expected request format, including headers, query parameters, and request body (if applicable).
- Describe the response format, including the structure of the response data and any relevant status codes.
- Detail any authentication or authorization requirements for accessing the endpoint.
- Provide clear and concise code examples demonstrating how to interact with the API using popular tools or libraries.
Expected Output: Comprehensive documentation for the backend APIs, including endpoints, request/response formats, authentication requirements, and code examples, ready to be integrated into the project's documentation system.