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

feat : Added get all Invitation endpoint #885

Closed
wants to merge 0 commits into from

Conversation

marveldo
Copy link
Contributor

Added an endpoint where a superadmin can get all the invitations to an organisation and wrote a test scripts to test my new changes

Description

This new addition adds a new endpoint to get all invitations in an organisation it is a get request and it returns a status code of 200 with a list of all organisation invites

​## Related Issue (Link to issue ticket)
Related Issue

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Motivation and Context

Motivation was to build an api endpoints in which all organisation invites can be retrieved

How Has This Been Tested?

This changes was tested with the use of pytest and Post man

Screenshots (if appropriate - Postman, etc):

Screenshot 2024-08-13 183015
Screenshot 2024-08-13 202125

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.

1 participant