Skip to content

Commit e72d036

Browse files
authored
v1.8.10
2 parents a7c0862 + 6eac05a commit e72d036

36 files changed

+561
-91
lines changed

docs/sources/manage/notify/slack/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ This set of permissions is supporting the ability of Grafana OnCall to match use
122122
(deprecated) slack commands.
123123
- **Create and manage user groups** — the permission is used to automatically update user groups linked to on-call
124124
schedules. It will add users once their on-call shift starts and remove them once the on-call shift ends.
125+
- **NOTE**: per [Slack's documentation](https://slack.com/help/articles/212906697-Create-a-user-group), you must have
126+
a paid plan for this feature to work properly
125127
- **Set presence for Grafana OnCall**
126128

127129
## Post-install configuration for Slack integration

docs/sources/oncall-api-reference/alertgroups.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/alertgroups/
33
title: Alert groups HTTP API
44
weight: 400
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Alert groups HTTP API
@@ -48,6 +54,8 @@ The above command returns JSON structured in the following way:
4854
}
4955
```
5056

57+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
58+
5159
These available filter parameters should be provided as `GET` arguments:
5260

5361
- `id`

docs/sources/oncall-api-reference/alerts.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/alerts/
33
title: Alerts HTTP API
44
weight: 100
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Alerts HTTP API
@@ -105,6 +111,8 @@ The above command returns JSON structured in the following way:
105111
}
106112
```
107113

114+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
115+
108116
The following available filter parameters should be provided as `GET` arguments:
109117

110118
- `id`

docs/sources/oncall-api-reference/escalation_chains.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/
33
title: Escalation chains HTTP API
44
weight: 200
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Escalation chains HTTP API
@@ -89,6 +95,8 @@ The above command returns JSON structured in the following way:
8995
}
9096
```
9197

98+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
99+
92100
**HTTP request**
93101

94102
`GET {{API_URL}}/api/v1/escalation_chains/`

docs/sources/oncall-api-reference/escalation_policies.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_policies/
33
title: Escalation policies HTTP API
44
weight: 300
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Escalation policies HTTP API
@@ -144,6 +150,8 @@ The above command returns JSON structured in the following way:
144150
}
145151
```
146152

153+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
154+
147155
The following available filter parameter should be provided as a `GET` argument:
148156

149157
- `escalation_chain_id`

docs/sources/oncall-api-reference/integrations.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ refs:
88
destination: /docs/oncall/<ONCALL_VERSION>/configure/integrations/references/alertmanager/
99
- pattern: /docs/grafana-cloud/
1010
destination: /docs/grafana-cloud/alerting-and-irm/oncall/configure/integrations/references/alertmanager/
11+
pagination:
12+
- pattern: /docs/oncall/
13+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
14+
- pattern: /docs/grafana-cloud/
15+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
1116
---
1217

1318
# Integrations HTTP API
@@ -233,6 +238,8 @@ The above command returns JSON structured in the following way:
233238
}
234239
```
235240

241+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
242+
236243
**HTTP request**
237244

238245
`GET {{API_URL}}/api/v1/integrations/`

docs/sources/oncall-api-reference/on_call_shifts.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/on_call_shifts/
33
title: OnCall shifts HTTP API
44
weight: 600
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# OnCall shifts HTTP API
@@ -150,6 +156,8 @@ The above command returns JSON structured in the following way:
150156
}
151157
```
152158

159+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
160+
153161
The following available filter parameters should be provided as `GET` arguments:
154162

155163
- `name` (Exact match)

docs/sources/oncall-api-reference/outgoing_webhooks.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ refs:
1313
destination: /docs/oncall/<ONCALL_VERSION>/configure/integrations/outgoing-webhooks/#event-types
1414
- pattern: /docs/grafana-cloud/
1515
destination: /docs/grafana-cloud/alerting-and-irm/oncall/configure/integrations/outgoing-webhooks/#event-types
16+
pagination:
17+
- pattern: /docs/oncall/
18+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
19+
- pattern: /docs/grafana-cloud/
20+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
1621
---
1722

1823
# Outgoing webhooks
@@ -66,6 +71,8 @@ The above command returns JSON structured in the following way:
6671
}
6772
```
6873

74+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
75+
6976
## Get webhook
7077

7178
```shell
@@ -244,3 +251,5 @@ The above command returns JSON structured in the following way:
244251
"total_pages": 1
245252
}
246253
```
254+
255+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.

docs/sources/oncall-api-reference/personal_notification_rules.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/personal_notification_rules/
33
title: Personal notification rules HTTP API
44
weight: 800
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Personal notification rules HTTP API
@@ -122,6 +128,8 @@ The above command returns JSON structured in the following ways:
122128
}
123129
```
124130

131+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
132+
125133
The following available filter parameters should be provided as `GET` arguments:
126134

127135
- `user_id`

docs/sources/oncall-api-reference/resolution_notes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/resolution_notes/
33
title: Resolution notes HTTP API
44
weight: 900
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Resolution notes HTTP API
@@ -99,6 +105,8 @@ The above command returns JSON structured in the following way:
99105
}
100106
```
101107

108+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
109+
102110
The following available filter parameter should be provided as a `GET` argument:
103111

104112
- `alert_group_id`

docs/sources/oncall-api-reference/routes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/routes/
33
title: Routes HTTP API
44
weight: 1100
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Routes HTTP API
@@ -134,6 +140,8 @@ The above command returns JSON structured in the following way:
134140
}
135141
```
136142

143+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
144+
137145
The following available filter parameters should be provided as `GET` arguments:
138146

139147
- `integration_id`

docs/sources/oncall-api-reference/schedules.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/
33
title: Schedules HTTP API
44
weight: 1200
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Schedules HTTP API
@@ -139,6 +145,8 @@ The above command returns JSON structured in the following way:
139145
}
140146
```
141147

148+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
149+
142150
The following available filter parameter should be provided as a `GET` argument:
143151

144152
- `name` (Exact match)
@@ -307,6 +315,8 @@ The above command returns JSON structured in the following way:
307315
}
308316
```
309317

318+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
319+
310320
### Caveats
311321

312322
Some notes on the `start_date` and `end_date` query parameters:

docs/sources/oncall-api-reference/shift_swaps.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/shift_swaps/
33
title: Shift swap requests HTTP API
44
weight: 1200
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Shift swap requests HTTP API
@@ -185,6 +191,8 @@ The above command returns JSON structured in the following way:
185191
}
186192
```
187193

194+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
195+
188196
The following available filter parameters may be provided as a `GET` arguments:
189197

190198
- `starting_after` (an ISO 8601 timestamp string, filter requests starting after the specified datetime)

docs/sources/oncall-api-reference/slack_channels.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/
33
title: Slack channels HTTP API
44
weight: 1300
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Slack channels HTTP API
@@ -34,6 +40,8 @@ The above command returns JSON structured in the following way:
3440
}
3541
```
3642

43+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
44+
3745
The following available filter parameter should be provided as a `GET` argument:
3846

3947
- `channel_name`

docs/sources/oncall-api-reference/user_groups.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/user_groups/
33
title: OnCall user groups HTTP API
44
weight: 1400
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
<!--Used in escalation policies with type = `notify_user_group` and in schedules.-->
@@ -41,6 +47,8 @@ The above command returns JSON structured in the following way:
4147
}
4248
```
4349

50+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
51+
4452
| Parameter | Unique | Description |
4553
| --------- | :----: | :---------------------------------------------------------------------------------------------------- |
4654
| `id` | Yes | User Group ID |

docs/sources/oncall-api-reference/users.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/users/
33
title: Grafana OnCall users HTTP API
44
weight: 1500
5+
refs:
6+
pagination:
7+
- pattern: /docs/oncall/
8+
destination: /docs/oncall/<ONCALL_VERSION>/oncall-api-reference/#pagination
9+
- pattern: /docs/grafana-cloud/
10+
destination: /docs/grafana-cloud/alerting-and-irm/oncall/oncall-api-reference/#pagination
511
---
612

713
# Grafana OnCall users HTTP API
@@ -90,7 +96,7 @@ The above command returns JSON structured in the following way:
9096
}
9197
```
9298

93-
This endpoint retrieves all users.
99+
> **Note**: The response is [paginated](ref:pagination). You may need to make multiple requests to get all records.
94100

95101
The following available filter parameter should be provided as a `GET` argument:
96102

engine/apps/api/views/features.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
class Feature(enum.StrEnum):
1616
MSTEAMS = "msteams"
1717
SLACK = "slack"
18+
UNIFIED_SLACK = "unified_slack"
1819
TELEGRAM = "telegram"
1920
LIVE_SETTINGS = "live_settings"
2021
GRAFANA_CLOUD_NOTIFICATIONS = "grafana_cloud_notifications"
@@ -46,6 +47,9 @@ def _get_enabled_features(self, request):
4647
if settings.FEATURE_SLACK_INTEGRATION_ENABLED:
4748
enabled_features.append(Feature.SLACK)
4849

50+
if settings.UNIFIED_SLACK_APP_ENABLED:
51+
enabled_features.append(Feature.UNIFIED_SLACK)
52+
4953
if settings.FEATURE_TELEGRAM_INTEGRATION_ENABLED:
5054
enabled_features.append(Feature.TELEGRAM)
5155

0 commit comments

Comments
 (0)