mainframe.endpoints.alerting¶
Attributes¶
Functions¶
|
|
|
|
|
Return the durable production alerting configuration. |
|
Replace the mutable production alerting configuration. |
Module Contents¶
- mainframe.endpoints.alerting._get_configuration(session: sqlalchemy.orm.Session) mainframe.models.orm.AlertingConfiguration[source]¶
- mainframe.endpoints.alerting._to_response(configuration: mainframe.models.orm.AlertingConfiguration) mainframe.models.schemas.AlertingConfigurationResponse[source]¶
- mainframe.endpoints.alerting.get_alerting_configuration(session: Annotated[sqlalchemy.orm.Session, Depends(get_db)], _auth: Annotated[mainframe.json_web_token.AuthenticationData, Depends(validate_token)]) mainframe.models.schemas.AlertingConfigurationResponse[source]¶
Return the durable production alerting configuration.
- mainframe.endpoints.alerting.update_alerting_configuration(body: mainframe.models.schemas.AlertingConfigurationUpdate, session: Annotated[sqlalchemy.orm.Session, Depends(get_db)], auth: Annotated[mainframe.json_web_token.AuthenticationData, Depends(validate_token)]) mainframe.models.schemas.AlertingConfigurationResponse[source]¶
Replace the mutable production alerting configuration.