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

Api docs enhancements #231

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from

Conversation

mmbogajemimah
Copy link

@mmbogajemimah mmbogajemimah commented Mar 19, 2024

What type of Pull Request is this ?

Applicable Checks

  • : Documentation
  • : Test
  • : Bug Fixes
  • : Feature
  • : Build

Related Issue:

Consideration

  • Added description that Provides a brief overview of the API's functionality for documentation purposes
  • Removing trailing slash on Auth, Custom Exports, HDX, Raw Data, stats, tasks and S3 APIs.
  • Updated Tasks 404, 403, 500 Responses
  • Add changes that when the User is not found in the Database 404 Error is raised
  • Added doc-strings to describe test_app.py test functions
  • Documentation on How to run Tests in Docker Container
  • Added exception 403 for authentication
  • Added documentation on how to set env variables in docker and how to run tests in docker
  • Added a responses.py file that contains all the errors and error examples to avoid repetition (DRY)

How to Test?

Visit the link below to access the API documentation
Raw Data API Documentation

Rate MyOpenAPI Report:

Raw Data API 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance API documentation and examples
1 participant