hngprojects / hng_boilerplate_python_fastapi_web

Apache License 2.0
153 stars 139 forks source link

Endpoint to Get all Organizations the current-user belongs to #519

Open FreemanBoss opened 1 month ago

FreemanBoss commented 1 month ago

Description

Develop an API endpoint to retrieve all organizations the current user belongs to with proper authentication and validation.

Acceptance Criteria

Request

No additional parameters are required. The endpoint retrieves organizations based on the authenticated user's information.

Response

Error Handling

Purpose

To provide a backend service allowing users to retrieve all organizations they belong to with appropriate authentication.

Requirements

Expected Outcome

API endpoint allows users to retrieve a list of organizations they belong to with proper authentication and error handling.

Task List

Testing

FreemanBoss commented 1 month ago