We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Implement an endpoint to list all organisation invitations in the database.
GET
/api/v1/organisations/invites
page_size=10
page=1
To provide users and non users to see all existing invitations in the database .
Users should get all existing organisation invites in the database
GET: /api/v1/organisation/invites
organisation Invites
curl -X GET {rootdomain}/api/v1/organisations/invites
Response Body [Success]:
{ "status_code": 200, "message": "Invites fetched Successfully", "data": [ { "user_id": "066bb97d-1761-7b95-8000-e448ace83a31", "is_valid": true, "created_at": "2024-08-13T18:29:10.410523+01:00", "updated_at": "2024-08-13T18:29:10.410523+01:00", "expires_at": "2024-08-14T18:29:10.427162+01:00", "organisation_id": "066bb96e-d5a4-7219-8000-846b4f3ad9f1", "id": "066bb97e-66f2-7e54-8000-daaaad17154d" } ] }
Response Body [Errors]:
{ "status_code": 400, "message": "Unable to retrieve organisations invites." }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Implement an endpoint to list all organisation invitations in the database.
Acceptance Criteria
GET
request at/api/v1/organisations/invites
.Default number of payments per page:
page_size=10
Default page:
page=1
Example url
/api/v1/organisations/invites
Purpose
To provide users and non users to see all existing invitations in the database .
Requirements
Expected Outcome
Users should get all existing organisation invites in the database
Tasks
GET: /api/v1/organisation/invites
) to handle retrieving all organisation invites.organisation Invites
in the database.Response Body [Success]:
Response Body [Errors]:
{ "status_code": 400, "message": "Unable to retrieve organisations invites." }
Testing:
The text was updated successfully, but these errors were encountered: