This API allows you to manage campaigns and donations. Below are the endpoints available:
-
Swagger UI
- Endpoint:
GET /api/swagger/ - Description: Access the interactive Swagger UI to explore and test the API endpoints.
- Endpoint:
-
ReDoc
- Endpoint:
GET /api/redoc/ - Description: View the ReDoc API documentation, which provides a clean and detailed presentation of the API schema and endpoints.
- Endpoint:
-
Campaigns
POST /api/campaign/: Create a new campaignPUT /api/campaign/: Update an existing campaignDELETE /api/campaign/: Delete a campaignPOST /api/campaign/{id}/: Create a new campaign by IDPUT /api/campaign/{id}/: Update an existing campaign by IDDELETE /api/campaign/{id}/: Delete a campaign by IDGET /api/campaignlist/: List all campaigns
-
Donations
POST /api/donation/: Create a new donationPUT /api/donation/: Update an existing donationDELETE /api/donation/: Delete a donationPOST /api/donation/{id}/: Create a new donation by IDPUT /api/donation/{id}/: Update an existing donation by IDDELETE /api/donation/{id}/: Delete a donation by IDGET /api/donationlist/: List all donations
-
User Authentication
POST /api/login/: Log in a userPOST /api/logout/: Log out a userPOST /api/register/: Register a new user
For a detailed and interactive API documentation, please visit the following link: