feat: Adding an organization sites bandwidth reset API #191

Closed
opened 2026-04-05 17:02:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @huzky-v on 2/26/2026

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

This feature change adds an API to manually reset bandwidth for all sites in the selected organization so that the users can reset the bandwidth counter when needed.
It is useful for the user hosted on VPS to see the monthly bandwidth counter instead of seeing accumulated counter by resetting the counter monthly.

The API call is POST /org/{orgId}/reset-bandwidth, OpenAPI and permission is added to the system.

*Originally created by @huzky-v on 2/26/2026* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description This feature change adds an API to manually reset bandwidth for all sites in the selected organization so that the users can reset the bandwidth counter when needed. It is useful for the user hosted on VPS to see the monthly bandwidth counter instead of seeing accumulated counter by resetting the counter monthly. The API call is `POST /org/{orgId}/reset-bandwidth`, OpenAPI and permission is added to the system.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#191