2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								aliases:
							 
						 
					
						
							
								
									
										
										
										
											2022-12-10 00:36:04 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								  -  ../../http_api/alerting_provisioning/
							 
						 
					
						
							
								
									
										
										
										
											2023-02-07 01:14:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								canonical: /docs/grafana/latest/developers/http_api/alerting_provisioning/
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								description: Grafana Alerts HTTP API
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								keywords:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  -  grafana
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  -  http
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  -  documentation
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  -  api
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  -  alerting
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  -  alerts
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								title: 'Alerting Provisioning HTTP API '
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Alerting provisioning API
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Information
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Version
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								1.1.0
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Content negotiation
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Produces
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  text/yaml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/yaml
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## All endpoints
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Alert rules
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Method | URI                                                                | Name                                                                    | Summary                                                 |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------ | ------------------------------------------------------------------ | ----------------------------------------------------------------------- | ------------------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| DELETE | /api/v1/provisioning/alert-rules/{UID}                             | [route delete alert rule ](#route-delete-alert-rule )                     | Delete a specific alert rule by UID.                    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/alert-rules/{UID}                             | [route get alert rule ](#route-get-alert-rule )                           | Get a specific alert rule by UID.                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/alert-rules/{UID}/export                      | [route get alert rule export ](#route-get-alert-rule-export )             | Export an alert rule in provisioning file format.       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/folder/{FolderUID}/rule-groups/{Group}        | [route get alert rule group ](#route-get-alert-rule-group )               | Get a rule group.                                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/folder/{FolderUID}/rule-groups/{Group}/export | [route get alert rule group export ](#route-get-alert-rule-group-export ) | Export an alert rule group in provisioning file format. |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/alert-rules                                   | [route get alert rules ](#route-get-alert-rules )                         | Get all the alert rules.                                |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/alert-rules/export                            | [route get alert rules export ](#route-get-alert-rules-export )           | Export all alert rules in provisioning file format.     |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| POST   | /api/v1/provisioning/alert-rules                                   | [route post alert rule ](#route-post-alert-rule )                         | Create a new alert rule.                                |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| PUT    | /api/v1/provisioning/alert-rules/{UID}                             | [route put alert rule ](#route-put-alert-rule )                           | Update an existing alert rule.                          |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| PUT    | /api/v1/provisioning/folder/{FolderUID}/rule-groups/{Group}        | [route put alert rule group ](#route-put-alert-rule-group )               | Update the interval of a rule group.                    |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Contact points
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Method | URI                                       | Name                                                      | Summary                           |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------ | ----------------------------------------- | --------------------------------------------------------- | --------------------------------- |
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| DELETE | /api/v1/provisioning/contact-points/{UID} | [route delete contactpoints ](#route-delete-contactpoints ) | Delete a contact point.           |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/contact-points       | [route get contactpoints ](#route-get-contactpoints )       | Get all the contact points.       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| POST   | /api/v1/provisioning/contact-points       | [route post contactpoints ](#route-post-contactpoints )     | Create a contact point.           |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| PUT    | /api/v1/provisioning/contact-points/{UID} | [route put contactpoint ](#route-put-contactpoint )         | Update an existing contact point. |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Notification policies
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Method | URI                           | Name                                                | Summary                              |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------ | ----------------------------- | --------------------------------------------------- | ------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| DELETE | /api/v1/provisioning/policies | [route reset policy tree ](#route-reset-policy-tree ) | Clears the notification policy tree. |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/policies | [route get policy tree ](#route-get-policy-tree )     | Get the notification policy tree.    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| PUT    | /api/v1/provisioning/policies | [route put policy tree ](#route-put-policy-tree )     | Sets the notification policy tree.   |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Mute timings
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Method | URI                                      | Name                                                  | Summary                          |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------ | ---------------------------------------- | ----------------------------------------------------- | -------------------------------- |
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| DELETE | /api/v1/provisioning/mute-timings/{name} | [route delete mute timing ](#route-delete-mute-timing ) | Delete a mute timing.            |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/mute-timings/{name} | [route get mute timing ](#route-get-mute-timing )       | Get a mute timing.               |
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/mute-timings        | [route get mute timings ](#route-get-mute-timings )     | Get all the mute timings.        |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								| POST   | /api/v1/provisioning/mute-timings        | [route post mute timing ](#route-post-mute-timing )     | Create a new mute timing.        |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| PUT    | /api/v1/provisioning/mute-timings/{name} | [route put mute timing ](#route-put-mute-timing )       | Replace an existing mute timing. |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Templates
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Method | URI                                   | Name                                            | Summary                                    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------ | ------------------------------------- | ----------------------------------------------- | ------------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| DELETE | /api/v1/provisioning/templates/{name} | [route delete template ](#route-delete-template ) | Delete a template.                         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/templates/{name} | [route get template ](#route-get-template )       | Get a notification template.               |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| GET    | /api/v1/provisioning/templates        | [route get templates ](#route-get-templates )     | Get all notification templates.            |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| PUT    | /api/v1/provisioning/templates/{name} | [route put template ](#route-put-template )       | Updates an existing notification template. |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Paths
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-delete-alert-rule"></span> Delete a specific alert rule by UID. (_RouteDeleteAlertRule_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								DELETE /api/v1/provisioning/alert-rules/{UID}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-18 21:10:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type   | Go type  | Separator | Required | Default | Description    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | ------ | -------- | --------- | :------: | ------- | -------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| UID                  | `path`    | string | `string`  |           |    ✓     |         | Alert rule UID |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string | `string`  |           |          |         |                |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                                | Status     | Description                              | Has headers | Schema                                        |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ----------------------------------- | ---------- | ---------------------------------------- | :---------: | --------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [204 ](#route-delete-alert-rule-204 ) | No Content | The alert rule was deleted successfully. |             | [schema ](#route-delete-alert-rule-204-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-delete-alert-rule-204"></span> 204 - The alert rule was deleted successfully.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: No Content
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-delete-alert-rule-204-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-delete-contactpoints"></span> Delete a contact point. (_RouteDeleteContactpoints_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								DELETE /api/v1/provisioning/contact-points/{UID}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name | Source | Type   | Go type  | Separator | Required | Default | Description                                |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | ------ | ------ | -------- | --------- | :------: | ------- | ------------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| UID  | `path`  | string | `string`  |           |    ✓     |         | UID is the contact point unique identifier |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                                   | Status     | Description                                 | Has headers | Schema                                           |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------------------------- | ---------- | ------------------------------------------- | :---------: | ------------------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [204 ](#route-delete-contactpoints-204 ) | No Content | The contact point was deleted successfully. |             | [schema ](#route-delete-contactpoints-204-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-delete-contactpoints-204"></span> 204 - The contact point was deleted successfully.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Status: No Content
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								###### <span id="route-delete-contactpoints-204-schema"></span> Schema
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-delete-mute-timing"></span> Delete a mute timing. (_RouteDeleteMuteTiming_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								DELETE /api/v1/provisioning/mute-timings/{name}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name | Source | Type   | Go type  | Separator | Required | Default | Description      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | ------ | ------ | -------- | --------- | :------: | ------- | ---------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name | `path`  | string | `string`  |           |    ✓     |         | Mute timing name |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                                 | Status     | Description                               | Has headers | Schema                                         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------------------------------ | ---------- | ----------------------------------------- | :---------: | ---------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [204 ](#route-delete-mute-timing-204 ) | No Content | The mute timing was deleted successfully. |             | [schema ](#route-delete-mute-timing-204-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-delete-mute-timing-204"></span> 204 - The mute timing was deleted successfully.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: No Content
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-delete-mute-timing-204-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-delete-template"></span> Delete a template. (_RouteDeleteTemplate_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								DELETE /api/v1/provisioning/templates/{name}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name | Source | Type   | Go type  | Separator | Required | Default | Description   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | ------ | ------ | -------- | --------- | :------: | ------- | ------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name | `path`  | string | `string`  |           |    ✓     |         | Template Name |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                              | Status     | Description                            | Has headers | Schema                                      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------- | ---------- | -------------------------------------- | :---------: | ------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [204 ](#route-delete-template-204 ) | No Content | The template was deleted successfully. |             | [schema ](#route-delete-template-204-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-delete-template-204"></span> 204 - The template was deleted successfully.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: No Content
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-delete-template-204-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-get-alert-rule"></span> Get a specific alert rule by UID. (_RouteGetAlertRule_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/alert-rules/{UID}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name | Source | Type   | Go type  | Separator | Required | Default | Description    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | ------ | ------ | -------- | --------- | :------: | ------- | -------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| UID  | `path`  | string | `string`  |           |    ✓     |         | Alert rule UID |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                             | Status    | Description          | Has headers | Schema                                     |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------------------- | --------- | -------------------- | :---------: | ------------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-alert-rule-200 ) | OK        | ProvisionedAlertRule |             | [schema ](#route-get-alert-rule-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [404 ](#route-get-alert-rule-404 ) | Not Found | Not found.           |             | [schema ](#route-get-alert-rule-404-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rule-200"></span> 200 - ProvisionedAlertRule
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rule-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[ProvisionedAlertRule ](#provisioned-alert-rule )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rule-404"></span> 404 - Not found.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Status: Not Found
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rule-404-schema"></span> Schema
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="route-get-alert-rule-export"></span> Export an alert rule in provisioning file format. (_RouteGetAlertRuleExport_)
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/alert-rules/{UID}/export
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Produces
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/yaml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  text/yaml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-02-03 00:10:02 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name     | Source  | Type     | Go type  | Separator | Required | Default  | Description                                                                                                                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------- | ------- | -------- | -------- | --------- | :------: | -------- | --------------------------------------------------------------------------------------------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| UID      | `path`   | string   | `string`  |           |    ✓     |          | Alert rule UID                                                                                                                    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| download | `query`  | boolean  | `bool`    |           |          |          | Whether to initiate a download of the file or not.                                                                                |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| format   | `query`  | `string`  | string   |           |          | `"yaml"`  | Format of the downloaded file, either yaml or json. Accept header can also be used, but the query parameter will take precedence. |
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                                    | Status    | Description        | Has headers | Schema                                            |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------------- | --------- | ------------------ | :---------: | ------------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-alert-rule-export-200 ) | OK        | AlertingFileExport |             | [schema ](#route-get-alert-rule-export-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [404 ](#route-get-alert-rule-export-404 ) | Not Found | Not found.         |             | [schema ](#route-get-alert-rule-export-404-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rule-export-200"></span> 200 - AlertingFileExport
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rule-export-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[AlertingFileExport ](#alerting-file-export )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rule-export-404"></span> 404 - Not found.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Not Found
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rule-export-404-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-get-alert-rule-group"></span> Get a rule group. (_RouteGetAlertRuleGroup_)
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/folder/{FolderUID}/rule-groups/{Group}
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name      | Source | Type   | Go type  | Separator | Required | Default | Description |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------- | ------ | ------ | -------- | --------- | :------: | ------- | ----------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| FolderUID | `path`  | string | `string`  |           |    ✓     |         |             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Group     | `path`  | string | `string`  |           |    ✓     |         |             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                                   | Status    | Description    | Has headers | Schema                                           |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------------------------- | --------- | -------------- | :---------: | ------------------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-alert-rule-group-200 ) | OK        | AlertRuleGroup |             | [schema ](#route-get-alert-rule-group-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [404 ](#route-get-alert-rule-group-404 ) | Not Found | Not found.     |             | [schema ](#route-get-alert-rule-group-404-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rule-group-200"></span> 200 - AlertRuleGroup
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rule-group-200-schema"></span> Schema
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[AlertRuleGroup ](#alert-rule-group )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rule-group-404"></span> 404 - Not found.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Status: Not Found
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rule-group-404-schema"></span> Schema
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="route-get-alert-rule-group-export"></span> Export an alert rule group in provisioning file format. (_RouteGetAlertRuleGroupExport_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/folder/{FolderUID}/rule-groups/{Group}/export
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Produces
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/yaml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  text/yaml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-02-03 00:10:02 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name      | Source  | Type     | Go type  | Separator | Required | Default  | Description                                                                                                                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------- | ------- | -------- | -------- | --------- | :------: | -------- | --------------------------------------------------------------------------------------------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| FolderUID | `path`   | string   | `string`  |           |    ✓     |          |                                                                                                                                   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Group     | `path`   | string   | `string`  |           |    ✓     |          |                                                                                                                                   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| download  | `query`  | boolean  | `bool`    |           |          |          | Whether to initiate a download of the file or not.                                                                                |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| format    | `query`  | `string`  | string   |           |          | `"yaml"`  | Format of the downloaded file, either yaml or json. Accept header can also be used, but the query parameter will take precedence. |
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                                          | Status    | Description        | Has headers | Schema                                                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------------------- | --------- | ------------------ | :---------: | ------------------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-alert-rule-group-export-200 ) | OK        | AlertingFileExport |             | [schema ](#route-get-alert-rule-group-export-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [404 ](#route-get-alert-rule-group-export-404 ) | Not Found | Not found.         |             | [schema ](#route-get-alert-rule-group-export-404-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rule-group-export-200"></span> 200 - AlertingFileExport
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rule-group-export-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[AlertingFileExport ](#alerting-file-export )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rule-group-export-404"></span> 404 - Not found.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Not Found
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rule-group-export-404-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-get-alert-rules"></span> Get all the alert rules. (_RouteGetAlertRules_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/alert-rules
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                              | Status | Description           | Has headers | Schema                                      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------- | ------ | --------------------- | :---------: | ------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-alert-rules-200 ) | OK     | ProvisionedAlertRules |             | [schema ](#route-get-alert-rules-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rules-200"></span> 200 - ProvisionedAlertRules
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rules-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ProvisionedAlertRules ](#provisioned-alert-rules )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-get-alert-rules-export"></span> Export all alert rules in provisioning file format. (_RouteGetAlertRulesExport_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/alert-rules/export
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-02-03 00:10:02 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name     | Source  | Type     | Go type | Separator | Required | Default  | Description                                                                                                                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------- | ------- | -------- | ------- | --------- | :------: | -------- | --------------------------------------------------------------------------------------------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| download | `query`  | boolean  | `bool`   |           |          |          | Whether to initiate a download of the file or not.                                                                                |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| format   | `query`  | `string`  | string  |           |          | `"yaml"`  | Format of the downloaded file, either yaml or json. Accept header can also be used, but the query parameter will take precedence. |
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                                     | Status    | Description        | Has headers | Schema                                             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---------------------------------------- | --------- | ------------------ | :---------: | -------------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-alert-rules-export-200 ) | OK        | AlertingFileExport |             | [schema ](#route-get-alert-rules-export-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [404 ](#route-get-alert-rules-export-404 ) | Not Found | Not found.         |             | [schema ](#route-get-alert-rules-export-404-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rules-export-200"></span> 200 - AlertingFileExport
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rules-export-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[AlertingFileExport ](#alerting-file-export )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-alert-rules-export-404"></span> 404 - Not found.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Not Found
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-alert-rules-export-404-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-get-contactpoints"></span> Get all the contact points. (_RouteGetContactpoints_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/contact-points
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name | Source  | Type   | Go type  | Separator | Required | Default | Description    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | ------- | ------ | -------- | --------- | :------: | ------- | -------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name | `query`  | string | `string`  |           |          |         | Filter by name |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                                | Status | Description   | Has headers | Schema                                        |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ----------------------------------- | ------ | ------------- | :---------: | --------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-contactpoints-200 ) | OK     | ContactPoints |             | [schema ](#route-get-contactpoints-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-contactpoints-200"></span> 200 - ContactPoints
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-contactpoints-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ContactPoints ](#contact-points )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-get-mute-timing"></span> Get a mute timing. (_RouteGetMuteTiming_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/mute-timings/{name}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name | Source | Type   | Go type  | Separator | Required | Default | Description      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | ------ | ------ | -------- | --------- | :------: | ------- | ---------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name | `path`  | string | `string`  |           |    ✓     |         | Mute timing name |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                              | Status    | Description      | Has headers | Schema                                      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------- | --------- | ---------------- | :---------: | ------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-mute-timing-200 ) | OK        | MuteTimeInterval |             | [schema ](#route-get-mute-timing-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [404 ](#route-get-mute-timing-404 ) | Not Found | Not found.       |             | [schema ](#route-get-mute-timing-404-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-mute-timing-200"></span> 200 - MuteTimeInterval
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-mute-timing-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[MuteTimeInterval ](#mute-time-interval )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-mute-timing-404"></span> 404 - Not found.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Status: Not Found
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								###### <span id="route-get-mute-timing-404-schema"></span> Schema
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-get-mute-timings"></span> Get all the mute timings. (_RouteGetMuteTimings_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/mute-timings
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                               | Status | Description | Has headers | Schema                                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---------------------------------- | ------ | ----------- | :---------: | -------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-mute-timings-200 ) | OK     | MuteTimings |             | [schema ](#route-get-mute-timings-200-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-mute-timings-200"></span> 200 - MuteTimings
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-mute-timings-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[MuteTimings ](#mute-timings )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-get-policy-tree"></span> Get the notification policy tree. (_RouteGetPolicyTree_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/policies
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                              | Status | Description | Has headers | Schema                                      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------- | ------ | ----------- | :---------: | ------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-policy-tree-200 ) | OK     | Route       |             | [schema ](#route-get-policy-tree-200-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-get-policy-tree-200"></span> 200 - Route
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-policy-tree-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[Route ](#route )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-19 01:26:34 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="route-get-template"></span> Get a notification template. (_RouteGetTemplate_)
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/templates/{name}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name | Source | Type   | Go type  | Separator | Required | Default | Description   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | ------ | ------ | -------- | --------- | :------: | ------- | ------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name | `path`  | string | `string`  |           |    ✓     |         | Template Name |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-19 01:26:34 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                           | Status    | Description          | Has headers | Schema                                   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------------------------ | --------- | -------------------- | :---------: | ---------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-template-200 ) | OK        | NotificationTemplate |             | [schema ](#route-get-template-200-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| [404 ](#route-get-template-404 ) | Not Found | Not found.           |             | [schema ](#route-get-template-404-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-19 01:26:34 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-template-200"></span> 200 - NotificationTemplate
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-template-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[NotificationTemplate ](#notification-template )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-template-404"></span> 404 - Not found.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Not Found
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-template-404-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-19 01:26:34 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="route-get-templates"></span> Get all notification templates. (_RouteGetTemplates_)
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								GET /api/v1/provisioning/templates
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                            | Status    | Description           | Has headers | Schema                                    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------------------------- | --------- | --------------------- | :---------: | ----------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-get-templates-200 ) | OK        | NotificationTemplates |             | [schema ](#route-get-templates-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [404 ](#route-get-templates-404 ) | Not Found | Not found.            |             | [schema ](#route-get-templates-404-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-templates-200"></span> 200 - NotificationTemplates
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-get-templates-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[NotificationTemplates ](#notification-templates )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-get-templates-404"></span> 404 - Not found.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Status: Not Found
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								###### <span id="route-get-templates-404-schema"></span> Schema
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-post-alert-rule"></span> Create a new alert rule. (_RoutePostAlertRule_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								POST /api/v1/provisioning/alert-rules
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type                                            | Go type                       | Separator | Required | Default | Description |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | ----------------------------------------------- | ----------------------------- | --------- | :------: | ------- | ----------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string                                          | `string`                       |           |          |         |             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [ProvisionedAlertRule ](#provisioned-alert-rule ) | `models.ProvisionedAlertRule`  |           |          |         |             |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                              | Status      | Description          | Has headers | Schema                                      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------- | ----------- | -------------------- | :---------: | ------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [201 ](#route-post-alert-rule-201 ) | Created     | ProvisionedAlertRule |             | [schema ](#route-post-alert-rule-201-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-post-alert-rule-400 ) | Bad Request | ValidationError      |             | [schema ](#route-post-alert-rule-400-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-post-alert-rule-201"></span> 201 - ProvisionedAlertRule
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Created
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-post-alert-rule-201-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[ProvisionedAlertRule ](#provisioned-alert-rule )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-post-alert-rule-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-post-alert-rule-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-post-contactpoints"></span> Create a contact point. (_RoutePostContactpoints_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								POST /api/v1/provisioning/contact-points
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-18 21:10:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type                                            | Go type                       | Separator | Required | Default | Description |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | ----------------------------------------------- | ----------------------------- | --------- | :------: | ------- | ----------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string                                          | `string`                       |           |          |         |             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [EmbeddedContactPoint ](#embedded-contact-point ) | `models.EmbeddedContactPoint`  |           |          |         |             |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                                 | Status      | Description          | Has headers | Schema                                         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------------------------------ | ----------- | -------------------- | :---------: | ---------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [202 ](#route-post-contactpoints-202 ) | Accepted    | EmbeddedContactPoint |             | [schema ](#route-post-contactpoints-202-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-post-contactpoints-400 ) | Bad Request | ValidationError      |             | [schema ](#route-post-contactpoints-400-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-post-contactpoints-202"></span> 202 - EmbeddedContactPoint
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Accepted
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-post-contactpoints-202-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[EmbeddedContactPoint ](#embedded-contact-point )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-post-contactpoints-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-post-contactpoints-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-post-mute-timing"></span> Create a new mute timing. (_RoutePostMuteTiming_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								POST /api/v1/provisioning/mute-timings
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-18 21:10:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type                                    | Go type                   | Separator | Required | Default | Description |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | --------------------------------------- | ------------------------- | --------- | :------: | ------- | ----------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string                                  | `string`                   |           |          |         |             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [MuteTimeInterval ](#mute-time-interval ) | `models.MuteTimeInterval`  |           |          |         |             |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                               | Status      | Description      | Has headers | Schema                                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---------------------------------- | ----------- | ---------------- | :---------: | -------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [201 ](#route-post-mute-timing-201 ) | Created     | MuteTimeInterval |             | [schema ](#route-post-mute-timing-201-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-post-mute-timing-400 ) | Bad Request | ValidationError  |             | [schema ](#route-post-mute-timing-400-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-post-mute-timing-201"></span> 201 - MuteTimeInterval
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Created
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-post-mute-timing-201-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[MuteTimeInterval ](#mute-time-interval )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-post-mute-timing-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-post-mute-timing-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-put-alert-rule"></span> Update an existing alert rule. (_RoutePutAlertRule_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								PUT /api/v1/provisioning/alert-rules/{UID}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type                                            | Go type                       | Separator | Required | Default | Description    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | ----------------------------------------------- | ----------------------------- | --------- | :------: | ------- | -------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| UID                  | `path`    | string                                          | `string`                       |           |    ✓     |         | Alert rule UID |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string                                          | `string`                       |           |          |         |                |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [ProvisionedAlertRule ](#provisioned-alert-rule ) | `models.ProvisionedAlertRule`  |           |          |         |                |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                             | Status      | Description          | Has headers | Schema                                     |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------------------- | ----------- | -------------------- | :---------: | ------------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-put-alert-rule-200 ) | OK          | ProvisionedAlertRule |             | [schema ](#route-put-alert-rule-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-put-alert-rule-400 ) | Bad Request | ValidationError      |             | [schema ](#route-put-alert-rule-400-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-put-alert-rule-200"></span> 200 - ProvisionedAlertRule
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-alert-rule-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[ProvisionedAlertRule ](#provisioned-alert-rule )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-alert-rule-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-alert-rule-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-put-alert-rule-group"></span> Update the interval of a rule group. (_RoutePutAlertRuleGroup_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								PUT /api/v1/provisioning/folder/{FolderUID}/rule-groups/{Group}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-18 21:10:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type                                | Go type                 | Separator | Required | Default | Description |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | ----------------------------------- | ----------------------- | --------- | :------: | ------- | ----------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| FolderUID            | `path`    | string                              | `string`                 |           |    ✓     |         |             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Group                | `path`    | string                              | `string`                 |           |    ✓     |         |             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string                              | `string`                 |           |          |         |             |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [AlertRuleGroup ](#alert-rule-group ) | `models.AlertRuleGroup`  |           |          |         |             |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                                   | Status      | Description     | Has headers | Schema                                           |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------------------------- | ----------- | --------------- | :---------: | ------------------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-put-alert-rule-group-200 ) | OK          | AlertRuleGroup  |             | [schema ](#route-put-alert-rule-group-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-put-alert-rule-group-400 ) | Bad Request | ValidationError |             | [schema ](#route-put-alert-rule-group-400-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-alert-rule-group-200"></span> 200 - AlertRuleGroup
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-alert-rule-group-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[AlertRuleGroup ](#alert-rule-group )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-alert-rule-group-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-alert-rule-group-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-put-contactpoint"></span> Update an existing contact point. (_RoutePutContactpoint_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								PUT /api/v1/provisioning/contact-points/{UID}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-18 21:10:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type                                            | Go type                       | Separator | Required | Default | Description                                |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | ----------------------------------------------- | ----------------------------- | --------- | :------: | ------- | ------------------------------------------ |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| UID                  | `path`    | string                                          | `string`                       |           |    ✓     |         | UID is the contact point unique identifier |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string                                          | `string`                       |           |          |         |                                            |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [EmbeddedContactPoint ](#embedded-contact-point ) | `models.EmbeddedContactPoint`  |           |          |         |                                            |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                               | Status      | Description     | Has headers | Schema                                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---------------------------------- | ----------- | --------------- | :---------: | -------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [202 ](#route-put-contactpoint-202 ) | Accepted    | Ack             |             | [schema ](#route-put-contactpoint-202-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-put-contactpoint-400 ) | Bad Request | ValidationError |             | [schema ](#route-put-contactpoint-400-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-contactpoint-202"></span> 202 - Ack
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Accepted
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-contactpoint-202-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[Ack ](#ack )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-contactpoint-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-contactpoint-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-put-mute-timing"></span> Replace an existing mute timing. (_RoutePutMuteTiming_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								PUT /api/v1/provisioning/mute-timings/{name}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-18 21:10:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type                                    | Go type                   | Separator | Required | Default | Description      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | --------------------------------------- | ------------------------- | --------- | :------: | ------- | ---------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name                 | `path`    | string                                  | `string`                   |           |    ✓     |         | Mute timing name |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string                                  | `string`                   |           |          |         |                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [MuteTimeInterval ](#mute-time-interval ) | `models.MuteTimeInterval`  |           |          |         |                  |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                              | Status      | Description      | Has headers | Schema                                      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------- | ----------- | ---------------- | :---------: | ------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [200 ](#route-put-mute-timing-200 ) | OK          | MuteTimeInterval |             | [schema ](#route-put-mute-timing-200-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-put-mute-timing-400 ) | Bad Request | ValidationError  |             | [schema ](#route-put-mute-timing-400-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-mute-timing-200"></span> 200 - MuteTimeInterval
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: OK
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-mute-timing-200-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[MuteTimeInterval ](#mute-time-interval )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-mute-timing-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-mute-timing-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route-put-policy-tree"></span> Sets the notification policy tree. (_RoutePutPolicyTree_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								PUT /api/v1/provisioning/policies
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-18 21:10:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type            | Go type        | Separator | Required | Default | Description                              |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | --------------- | -------------- | --------- | :------: | ------- | ---------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string          | `string`        |           |          |         |                                          |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [Route ](#route ) | `models.Route`  |           |          |         | The new notification routing tree to use |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                              | Status      | Description     | Has headers | Schema                                      |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------- | ----------- | --------------- | :---------: | ------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [202 ](#route-put-policy-tree-202 ) | Accepted    | Ack             |             | [schema ](#route-put-policy-tree-202-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-put-policy-tree-400 ) | Bad Request | ValidationError |             | [schema ](#route-put-policy-tree-400-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-policy-tree-202"></span> 202 - Ack
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Accepted
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-policy-tree-202-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[Ack ](#ack )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-policy-tree-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-policy-tree-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="route-put-template"></span> Updates an existing notification template. (_RoutePutTemplate_)
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								PUT /api/v1/provisioning/templates/{name}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Parameters
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-18 21:10:36 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                 | Source   | Type                                                          | Go type                              | Separator | Required | Default | Description   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------------- | -------- | ------------------------------------------------------------- | ------------------------------------ | --------- | :------: | ------- | ------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name                 | `path`    | string                                                        | `string`                              |           |    ✓     |         | Template Name |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| X-Disable-Provenance | `header`  | string                                                        | `string`                              |           |          |         |               |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Body                 | `body`    | [NotificationTemplateContent ](#notification-template-content ) | `models.NotificationTemplateContent`  |           |          |         |               |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Code                           | Status      | Description          | Has headers | Schema                                   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------------------------ | ----------- | -------------------- | :---------: | ---------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [202 ](#route-put-template-202 ) | Accepted    | NotificationTemplate |             | [schema ](#route-put-template-202-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [400 ](#route-put-template-400 ) | Bad Request | ValidationError      |             | [schema ](#route-put-template-400-schema ) |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								##### <span id="route-put-template-202"></span> 202 - NotificationTemplate
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Accepted
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-template-202-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[NotificationTemplate ](#notification-template )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-put-template-400"></span> 400 - ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Bad Request
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-put-template-400-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[ValidationError ](#validation-error )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="route-reset-policy-tree"></span> Clears the notification policy tree. (_RouteResetPolicyTree_)
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								DELETE /api/v1/provisioning/policies
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Consumes
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-  application/json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### All responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Code                                | Status   | Description | Has headers | Schema                                        |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ----------------------------------- | -------- | ----------- | :---------: | --------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| [202 ](#route-reset-policy-tree-202 ) | Accepted | Ack         |             | [schema ](#route-reset-policy-tree-202-schema ) |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Responses
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								##### <span id="route-reset-policy-tree-202"></span> 202 - Ack
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Status: Accepted
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								###### <span id="route-reset-policy-tree-202-schema"></span> Schema
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[Ack ](#ack )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Models
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="ack"></span> Ack
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[interface{} ](#interface )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								### <span id="alert-query"></span> AlertQuery
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-02-01 01:50:10 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                                                      | Type                                      | Go type             | Required | Default | Description                                                                                            | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------------------------------------------------------- | ----------------------------------------- | ------------------- | :------: | ------- | ------------------------------------------------------------------------------------------------------ | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| datasourceUid                                             | string                                    | `string`             |          |         | Grafana data source unique identifier; it should be '**expr**' for a Server Side Expression operation. |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| model                                                     | [interface{} ](#interface )                 | `interface{}`        |          |         | JSON is the raw JSON query and includes the above properties as well as custom properties.             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| queryType                                                 | string                                    | `string`             |          |         | QueryType is an optional identifier for the type of query.                                             |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								| It can be used to distinguish different types of queries. |                                           |
							 
						 
					
						
							
								
									
										
										
										
											2023-02-01 01:50:10 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| refId                                                     | string                                    | `string`             |          |         | RefID is the unique identifier of the query, set by the frontend call.                                 |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| relativeTimeRange                                         | [RelativeTimeRange ](#relative-time-range ) | `RelativeTimeRange`  |          |         |                                                                                                        |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="alert-query-export"></span> AlertQueryExport
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name              | Type                                      | Go type             | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ----------------- | ----------------------------------------- | ------------------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| datasourceUid     | string                                    | `string`             |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| model             | [interface{} ](#interface )                 | `interface{}`        |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| queryType         | string                                    | `string`             |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| refId             | string                                    | `string`             |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| relativeTimeRange | [RelativeTimeRange ](#relative-time-range ) | `RelativeTimeRange`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="alert-rule-export"></span> AlertRuleExport
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name         | Type                                      | Go type               | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------ | ----------------------------------------- | --------------------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| annotations  | map of string                             | `map[string]string`    |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| condition    | string                                    | `string`               |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| dasboardUid  | string                                    | `string`               |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| data         | [][alertqueryexport](#alert-query-export) | `[]*AlertQueryExport`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| execErrState | string                                    | `string`               |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| for          | [Duration ](#duration )                     | `Duration`             |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| labels       | map of string                             | `map[string]string`    |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| noDataState  | string                                    | `string`               |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| panelId      | int64 (formatted integer)                 | `int64`                |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| title        | string                                    | `string`               |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| uid          | string                                    | `string`               |          |         |             |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="alert-rule-group"></span> AlertRuleGroup
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name      | Type                                              | Go type                   | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------- | ------------------------------------------------- | ------------------------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| folderUid | string                                            | `string`                   |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| interval  | int64 (formatted integer)                         | `int64`                    |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| rules     | [][provisionedalertrule](#provisioned-alert-rule) | `[]*ProvisionedAlertRule`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| title     | string                                            | `string`                   |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="alert-rule-group-export"></span> AlertRuleGroupExport
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name     | Type                                    | Go type              | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------- | --------------------------------------- | -------------------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| folder   | string                                  | `string`              |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| interval | [Duration ](#duration )                   | `Duration`            |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name     | string                                  | `string`              |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| orgId    | int64 (formatted integer)               | `int64`               |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| rules    | [][alertruleexport](#alert-rule-export) | `[]*AlertRuleExport`  |          |         |             |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="alerting-file-export"></span> AlertingFileExport
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name       | Type                                               | Go type                   | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---------- | -------------------------------------------------- | ------------------------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| apiVersion | int64 (formatted integer)                          | `int64`                    |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| groups     | [][alertrulegroupexport](#alert-rule-group-export) | `[]*AlertRuleGroupExport`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="contact-points"></span> ContactPoints
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[][embeddedcontactpoint](#embedded-contact-point)
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="duration"></span> Duration
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name     | Type                      | Go type | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------- | ------------------------- | ------- | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Duration | int64 (formatted integer) | int64   |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="embedded-contact-point"></span> EmbeddedContactPoint
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								>  EmbeddedContactPoint is the contact point type that is used
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								>  by grafanas embedded alertmanager implementation.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                                 | Type                    | Go type  | Required | Default | Description                                                       | Example   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------------------------------ | ----------------------- | -------- | :------: | ------- | ----------------------------------------------------------------- | --------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| disableResolveMessage                | boolean                 | `bool`    |          |         |                                                                   | `false`    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name                                 | string                  | `string`  |          |         | Name is used as grouping key in the UI. Contact points with the   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| same name will be grouped in the UI. | `webhook_1`              |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| provenance                           | string                  | `string`  |          |         |                                                                   |           |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| settings                             | [JSON ](#json )           | `JSON`    |    ✓     |         |                                                                   |           |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| type                                 | string                  | `string`  |    ✓     |         |                                                                   | `webhook`  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| uid                                  | string                  | `string`  |          |         | UID is the unique identifier of the contact point. The UID can be |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| set by the user.                     | `my_external_reference`  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="json"></span> Json
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[interface{} ](#interface )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="match-regexps"></span> MatchRegexps
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[MatchRegexps ](#match-regexps )
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="match-type"></span> MatchType
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name      | Type                      | Go type | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| --------- | ------------------------- | ------- | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| MatchType | int64 (formatted integer) | int64   |         |             |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="matcher"></span> Matcher
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name  | Type                     | Go type     | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ----- | ------------------------ | ----------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name  | string                   | `string`     |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Type  | [MatchType ](#match-type ) | `MatchType`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Value | string                   | `string`     |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="matchers"></span> Matchers
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  Matchers is a slice of Matchers that is sortable, implements Stringer, and
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  provides a Matches method to match a LabelSet against all Matchers in the
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  slice. Note that some users of Matchers might require it to be sorted.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[][matcher](#matcher)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="mute-time-interval"></span> MuteTimeInterval
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name           | Type                             | Go type           | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------------- | -------------------------------- | ----------------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name           | string                           | `string`           |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| time_intervals | [][timeinterval](#time-interval) | `[]*TimeInterval`  |          |         |             |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="mute-timings"></span> MuteTimings
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[][mutetimeinterval](#mute-time-interval)
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="notification-template"></span> NotificationTemplate
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name       | Type                      | Go type      | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---------- | ------------------------- | ------------ | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| name       | string                    | `string`      |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| provenance | [Provenance ](#provenance ) | `Provenance`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| template   | string                    | `string`      |          |         |             |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="notification-template-content"></span> NotificationTemplateContent
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name     | Type   | Go type  | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| -------- | ------ | -------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| template | string | `string`  |          |         |             |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="notification-templates"></span> NotificationTemplates
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[][notificationtemplate](#notification-template)
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="object-matchers"></span> ObjectMatchers
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[Matchers ](#matchers )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Inlined models
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								### <span id="provenance"></span> Provenance
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name       | Type   | Go type | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---------- | ------ | ------- | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Provenance | string | string  |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="provisioned-alert-rule"></span> ProvisionedAlertRule
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-02-01 01:50:10 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name         | Type                         | Go type             | Required | Default | Description | Example                                                                                                                                                                                                                                                                                                                                                                                                                          |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------ | ---------------------------- | ------------------- | :------: | ------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| annotations  | map of string                | `map[string]string`  |          |         |             | `{"runbook_url":"https://supercoolrunbook.com/page/13"}`                                                                                                                                                                                                                                                                                                                                                                          |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| condition    | string                       | `string`             |    ✓     |         |             | `A`                                                                                                                                                                                                                                                                                                                                                                                                                               |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| data         | [][alertquery](#alert-query) | `[]*AlertQuery`      |    ✓     |         |             | `[{"datasourceUid":"__expr__","model":{"conditions":[{"evaluator":{"params":[0,0],"type":"gt"},"operator":{"type":"and"},"query":{"params":[]},"reducer":{"params":[],"type":"avg"},"type":"query"}],"datasource":{"type":"__expr__","uid":"__expr__"},"expression":"1 == 1","hide":false,"intervalMs":1000,"maxDataPoints":43200,"refId":"A","type":"math"},"queryType":"","refId":"A","relativeTimeRange":{"from":0,"to":0}}]`  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| execErrState | string                       | `string`             |    ✓     |         |             |                                                                                                                                                                                                                                                                                                                                                                                                                                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| folderUID    | string                       | `string`             |    ✓     |         |             | `project_x`                                                                                                                                                                                                                                                                                                                                                                                                                       |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| for          | [Duration ](#duration )        | `Duration`           |    ✓     |         |             |                                                                                                                                                                                                                                                                                                                                                                                                                                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| id           | int64 (formatted integer)    | `int64`              |          |         |             |                                                                                                                                                                                                                                                                                                                                                                                                                                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| labels       | map of string                | `map[string]string`  |          |         |             | `{"team":"sre-team-1"}`                                                                                                                                                                                                                                                                                                                                                                                                           |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| noDataState  | string                       | `string`             |    ✓     |         |             |                                                                                                                                                                                                                                                                                                                                                                                                                                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| orgID        | int64 (formatted integer)    | `int64`              |    ✓     |         |             |                                                                                                                                                                                                                                                                                                                                                                                                                                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| provenance   | [Provenance ](#provenance )    | `Provenance`         |          |         |             |                                                                                                                                                                                                                                                                                                                                                                                                                                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ruleGroup    | string                       | `string`             |    ✓     |         |             | `eval_group_1`                                                                                                                                                                                                                                                                                                                                                                                                                    |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| title        | string                       | `string`             |    ✓     |         |             | `Always firing`                                                                                                                                                                                                                                                                                                                                                                                                                   |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| uid          | string                       | `string`             |          |         |             |                                                                                                                                                                                                                                                                                                                                                                                                                                  |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| updated      | date-time (formatted string) | `strfmt.DateTime`    |          |         |             |                                                                                                                                                                                                                                                                                                                                                                                                                                  |
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="provisioned-alert-rules"></span> ProvisionedAlertRules
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[][provisionedalertrule](#provisioned-alert-rule)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="regexp"></span> Regexp
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  A Regexp is safe for concurrent use by multiple goroutines,
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  except for configuration methods, such as Longest.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								[interface{} ](#interface )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								### <span id="relative-time-range"></span> RelativeTimeRange
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  RelativeTimeRange is the per query start and end time
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  for requests.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name | Type                  | Go type    | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | --------------------- | ---------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| from | [Duration ](#duration ) | `Duration`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| to   | [Duration ](#duration ) | `Duration`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="route"></span> Route
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								>  A Route is a node that contains definitions of how to handle alerts. This is modified
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  from the upstream alertmanager in that it adds the ObjectMatchers property.
 
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name                | Type                               | Go type             | Required | Default | Description                             | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------------- | ---------------------------------- | ------------------- | :------: | ------- | --------------------------------------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| continue            | boolean                            | `bool`               |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| group_by            | []string                           | `[]string`           |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| group_interval      | string                             | `string`             |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| group_wait          | string                             | `string`             |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| match               | map of string                      | `map[string]string`  |          |         | Deprecated. Remove before v1.0 release. |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| match_re            | [MatchRegexps ](#match-regexps )     | `MatchRegexps`       |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| matchers            | [Matchers ](#matchers )              | `Matchers`           |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| mute_time_intervals | []string                           | `[]string`           |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| object_matchers     | [ObjectMatchers ](#object-matchers ) | `ObjectMatchers`     |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| provenance          | [Provenance ](#provenance )          | `Provenance`         |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| receiver            | string                             | `string`             |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| repeat_interval     | string                             | `string`             |          |         |                                         |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| routes              | [][route](#route)                  | `[]*Route`           |          |         |                                         |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="time-interval"></span> TimeInterval
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  TimeInterval describes intervals of time. ContainsTime will tell you if a golang time is contained
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  within the interval.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name          | Type                       | Go type        | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ------------- | -------------------------- | -------------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| days_of_month | []string                   | `[]string`      |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| location      | string                     | `string`        |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| months        | []string                   | `[]string`      |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| times         | [][timerange](#time-range) | `[]*TimeRange`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| weekdays      | []string                   | `[]string`      |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| years         | []string                   | `[]string`      |          |         |             |         |
							 
						 
					
						
							
								
									
										
										
										
											2022-06-10 22:25:15 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="time-range"></span> TimeRange
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								>  For example, 4:00PM to End of the day would Begin at 1020 and End at 1440.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| Name        | Type                      | Go type | Required | Default | Description | Example |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ----------- | ------------------------- | ------- | :------: | ------- | ----------- | ------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| EndMinute   | int64 (formatted integer) | `int64`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| StartMinute | int64 (formatted integer) | `int64`  |          |         |             |         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### <span id="validation-error"></span> ValidationError
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Properties**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-28 00:39:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Name | Type   | Go type  | Required | Default | Description | Example         |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ---- | ------ | -------- | :------: | ------- | ----------- | --------------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| msg  | string | `string`  |          |         |             | `error message`  |