curl -X POST "https://kodostatus.com/api/v1/releases" \ -H "X-API-Key: your_api_key" \ -H "Content-Type: application/json" \ -d '{ "version": "1.2.3", "service_id": "svc_abc123", "environment": "production", "commit_sha": "a1b2c3d4e5f6g7h8", "repository": "https://github.com/org/repo" }'
{ "id": "rel_abc123", "version": "1.2.3", "service_id": "svc_abc123", "environment": "production", "deployed_at": "2024-01-15T10:00:00Z", "commit_sha": "a1b2c3d4e5f6g7h8", "repository": "https://github.com/org/repo", "deployed_by": null, "error_count": 0, "new_errors": 0, "regressed_errors": 0 }
Track a new release for error correlation and regression detection
production
staging
development