Skip to content

Commit 4de7113

Browse files
committed
docs(api): stop requiring priority on the channel rule items
The silence, inhibit and unsubscribe rule item schemas dropped their `priority` property when the field left the API, but kept `priority` in their `required` list. The schemas then demanded a key the endpoints never return — including in their own response examples. Remove the three stale required entries.
1 parent 4b9f976 commit 4de7113

4 files changed

Lines changed: 0 additions & 12 deletions

File tree

api-reference/on-call.openapi.en.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23606,7 +23606,6 @@
2360623606
"required": [
2360723607
"account_id",
2360823608
"channel_id",
23609-
"priority",
2361023609
"rule_name",
2361123610
"description",
2361223611
"source_filters",
@@ -27285,7 +27284,6 @@
2728527284
"required": [
2728627285
"account_id",
2728727286
"channel_id",
27288-
"priority",
2728927287
"rule_name",
2729027288
"description",
2729127289
"time_filters",
@@ -28386,7 +28384,6 @@
2838628384
"required": [
2838728385
"account_id",
2838828386
"channel_id",
28389-
"priority",
2839028387
"rule_name",
2839128388
"description",
2839228389
"filters",

api-reference/on-call.openapi.zh.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23597,7 +23597,6 @@
2359723597
"required": [
2359823598
"account_id",
2359923599
"channel_id",
23600-
"priority",
2360123600
"rule_name",
2360223601
"description",
2360323602
"source_filters",
@@ -27276,7 +27275,6 @@
2727627275
"required": [
2727727276
"account_id",
2727827277
"channel_id",
27279-
"priority",
2728027278
"rule_name",
2728127279
"description",
2728227280
"time_filters",
@@ -28377,7 +28375,6 @@
2837728375
"required": [
2837828376
"account_id",
2837928377
"channel_id",
28380-
"priority",
2838128378
"rule_name",
2838228379
"description",
2838328380
"filters",

api-reference/openapi.en.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35839,7 +35839,6 @@
3583935839
"required": [
3584035840
"account_id",
3584135841
"channel_id",
35842-
"priority",
3584335842
"rule_name",
3584435843
"description",
3584535844
"time_filters",
@@ -35937,7 +35936,6 @@
3593735936
"required": [
3593835937
"account_id",
3593935938
"channel_id",
35940-
"priority",
3594135939
"rule_name",
3594235940
"description",
3594335941
"source_filters",
@@ -36022,7 +36020,6 @@
3602236020
"required": [
3602336021
"account_id",
3602436022
"channel_id",
36025-
"priority",
3602636023
"rule_name",
3602736024
"description",
3602836025
"filters",

api-reference/openapi.zh.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35830,7 +35830,6 @@
3583035830
"required": [
3583135831
"account_id",
3583235832
"channel_id",
35833-
"priority",
3583435833
"rule_name",
3583535834
"description",
3583635835
"time_filters",
@@ -35928,7 +35927,6 @@
3592835927
"required": [
3592935928
"account_id",
3593035929
"channel_id",
35931-
"priority",
3593235930
"rule_name",
3593335931
"description",
3593435932
"source_filters",
@@ -36013,7 +36011,6 @@
3601336011
"required": [
3601436012
"account_id",
3601536013
"channel_id",
36016-
"priority",
3601736014
"rule_name",
3601836015
"description",
3601936016
"filters",

0 commit comments

Comments
 (0)