prefect.server.api.flow_run_notification_policies
Routes for interacting with flow run notification policy objects.
create_flow_run_notification_policy(flow_run_notification_policy, db=Depends(provide_database_interface))
async
Creates a new flow run notification policy.
Source code in src/prefect/server/api/flow_run_notification_policies.py
22 23 24 25 26 27 28 29 30 31 32 33 |
|
delete_flow_run_notification_policy(flow_run_notification_policy_id=Path(..., description='The flow run notification policy id', alias='id'), db=Depends(provide_database_interface))
async
Delete a flow run notification policy by id.
Source code in src/prefect/server/api/flow_run_notification_policies.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
|
read_flow_run_notification_policies(limit=dependencies.LimitBody(), flow_run_notification_policy_filter=None, offset=Body(0, ge=0), db=Depends(provide_database_interface))
async
Query for flow run notification policies.
Source code in src/prefect/server/api/flow_run_notification_policies.py
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
|
read_flow_run_notification_policy(flow_run_notification_policy_id=Path(..., description='The flow run notification policy id', alias='id'), db=Depends(provide_database_interface))
async
Get a flow run notification policy by id.
Source code in src/prefect/server/api/flow_run_notification_policies.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
|
update_flow_run_notification_policy(flow_run_notification_policy, flow_run_notification_policy_id=Path(..., description='The flow run notification policy id', alias='id'), db=Depends(provide_database_interface))
async
Updates an existing flow run notification policy.
Source code in src/prefect/server/api/flow_run_notification_policies.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|