Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear and Incomplete Documentation for Social Meet Backend API Endpoints #1

Open
preciousimo opened this issue May 23, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@preciousimo
Copy link
Owner

Description: The current documentation for the Social Meet backend API endpoints lacks essential information and clarity, making it challenging to understand and utilize the API effectively. Specifically, the provided documentation for the authentication endpoints (POST /api/signup/, POST /api/login/, and POST /api/logout/) is insufficient and requires improvement also other API endpoints are not yet documented

Issues with the Documentation:

  1. Inadequate request body details: The documentation fails to provide comprehensive information about the required parameters, their data types, and any additional constraints for the request bodies of the authentication endpoints. This lack of clarity hinders developers in correctly constructing the requests.

  2. Insufficient response descriptions: The responses mentioned in the documentation (201 Created, 400 Bad Request, 409 Conflict, 200 OK, 401 Unauthorized, 204 No Content) lack detailed explanations of their meaning and possible scenarios. It is essential to provide clear and concise descriptions to assist developers in understanding the expected outcomes.

  3. Missing error handling guidelines: The documentation does not include guidance on how to handle potential errors or exceptions that may occur during API interactions. This omission makes it challenging for developers to implement robust error handling mechanisms.

  4. Other API endpoints are not yet documented

Expected Resolution:

  • Provide a comprehensive list of parameters with their data types, requirements (mandatory or optional), and a clear description of each parameter's purpose for all the authentication endpoints.

  • Elaborate on the possible responses for each endpoint, including their meanings, status codes, and any additional relevant information that would help developers interpret the responses accurately.

  • Include detailed guidelines on error handling, such as common error scenarios, recommended error messages, and how to handle specific exceptions or error codes.

  • Improving the documentation in these areas will greatly enhance the usability of the Social Meet backend API and streamline the development process for users.

@preciousimo preciousimo added the documentation Improvements or additions to documentation label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant