We’re excited to announce the Freeze Logs API - giving you programmatic access to comprehensive freeze operation logs for analytics, compliance reporting, and integration with your monitoring systems.
What’s New
The new API endpoint provides detailed logs of all freeze operations:
curl "https://www.mergefreeze.com/api/freeze_logs" \
-H "Authorization: Bearer your_api_token" \
-G \
-d "project_name=your-repo"
What you get:
- 📊 Complete freeze history with timestamps and duration
- 📝 Reason tracking - why each freeze was created
- 🔄 Operation details - freeze/unfreeze events with context
- 🏷️ Metadata - branch, repository, and organizational context
Response Format
{
"freeze_logs": [
{
"id": 12345,
"frozen": true,
"frozen_by": "user@example.com",
"reason": "Emergency maintenance",
"created_at": "2022-09-20T10:30:00Z",
"unfrozen_at": null
}
]
}
Common Use Cases
Compliance Reporting
Generate audit reports showing all deployment controls with timestamps, users, and justifications for compliance reviews.
Analytics & Insights
Analyze freeze patterns to optimize deployment windows, identify bottlenecks, and improve team coordination.
Monitoring Integration
Feed freeze data into your monitoring systems to correlate deployments with system performance and incidents.
Team Metrics
Track freeze frequency, duration, and reasons to improve deployment processes and team efficiency.
API Parameters
access_token
: Your API authentication tokenaccount
: GitHub organization slug (required)repository
: Specific repository (optional - omit for all repos)
Getting Started
- Get your API token from account settings
- Make API calls to retrieve freeze logs
- Process the JSON response for your analytics or reporting needs
- Set up regular data collection for ongoing monitoring
Learn More
Ready to unlock the power of freeze log analytics?
With the Freeze Logs API, you have complete visibility into your deployment controls. Turn your freeze data into actionable insights! 📊🚀