February 26, 2025

Summary

Added the ability to work with Astro Alerts and their Notification Channels through the Astro API, with the new alerts and notification-channels endpoints.

Added

New endpoints:

  • GET /organizations/{organizationId}/alerts to list Alerts in a Workspace or Deployment.
  • POST /organizations/{organizationId}/alerts to create an Alert for a Deployment or Workspace.
  • GET /organizations/{organizationId}/alerts/{alertId} to retrieve details about a specific Alert.
  • POST /organizations/{organizationId}/alerts/{alertId} to update an existing Alert.
  • DEL /organizations/{organizationId}/alerts/{alertId} to delete an Alert.
  • GET /organizations/{organizationId}/notification-channels to list Alert Notification Channels.
  • POST /organizations/{organizationId}/notification-channels to create an Alert Notification Channel.
  • GET /organizations/{organizationId}/alerts/{notificationChannelId} to retrieve details about a specific Alert Notification Channel.
  • POST /organizations/{organizationId}/alerts/{notificationChannelId} to update an existing Alert Notification Channel.
  • DEL /organizations/{organizationId}/alerts/{notificationChannelId} to delete an Alert Notification Channel.