This service uses API keys for authentication with a granular permissions system.
X-API-Key: your-api-key?api_key=your-api-keyReturns the merged calendar in ICS format.
curl -H "X-API-Key: your-key" http://localhost:5000/calendar.icswget --header="X-API-Key: your-key" http://localhost:5000/calendar.ics
Returns service statistics in JSON format.
curl -H "X-API-Key: your-key" http://localhost:5000/stats
Service health check (for monitoring).
curl http://localhost:5000/health
List all API keys and their permissions (administration).
curl -H "X-API-Key: your-admin-key" http://localhost:5000/api-keys
Force calendar synchronization and return status.
curl -X POST -H "X-API-Key: your-sync-key" http://localhost:5000/sync