You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no implementation for route that allows admins to retrieve all list of created invites in the system. This functionality is necessary for admins to view all created invites .
Acceptance Criteria
Data Retrieval
The route fetches all invites from the database.
Successful API Response
A 200 OK response is returned with a list of invites in JSON format.
Purpose
The purpose of this functionality is to enable admins to retrieve and view a comprehensive list of all created invites within the system, ensuring better oversight and management of invitations.
Requirements
Store invites in PostgreSQL Database.
Define a GET /invites endpoint to fetch all invites.
Return JSON responses, including invite details or an empty list if none exist.
Description
Currently, there is no implementation for route that allows admins to retrieve all list of created invites in the system. This functionality is necessary for admins to view all created invites .
Acceptance Criteria
Data Retrieval
The route fetches all invites from the database.
Successful API Response
A 200 OK response is returned with a list of invites in JSON format.
Purpose
The purpose of this functionality is to enable admins to retrieve and view a comprehensive list of all created invites within the system, ensuring better oversight and management of invitations.
Requirements
Expected Outcome
{
"status": "string",
"status_code": number,
"message": "string",
"data": {}
}
The text was updated successfully, but these errors were encountered: