Add health check endpoint and refactor integration response handling

- Introduced a new public health check endpoint at `api/ping/` to verify API responsiveness.
- Refactored integration response handling to utilize a unified success and error response format across various methods in `IntegrationSettingsViewSet`, improving consistency and clarity in API responses.
- Updated URL patterns to include the new ping endpoint and adjusted imports accordingly.
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-16 07:01:19 +00:00
parent 201bc339a8
commit 7cd0e1a807
9 changed files with 376 additions and 308 deletions

View File

@@ -144,7 +144,7 @@ Authorization: Bearer <access_token>
- `GET /api/v1/auth/plans/`
- `GET /api/v1/auth/industries/`
- `GET /api/v1/system/status/`
- `GET /api/ping/` (health check)
- `GET /api/v1/system/ping/` (health check)
**All other endpoints require JWT authentication.**