You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fb632f7
Browse filesBrowse the repository at this point in the historyBrowse files
description: Duration of the request in milliseconds
21031
21068
title: Duration
21032
21069
type: string
21033
-
x-stream-index: "002.001"
21070
+
x-stream-index: "003.001"
21034
21071
policy:
21035
21072
$ref: '#/components/schemas/RetentionPolicy'
21036
21073
x-stream-index: "001"
@@ -26588,7 +26625,7 @@ components:
26588
26625
type: apiKey
26589
26626
info:
26590
26627
title: Stream API
26591
-
version: v240.4.0
26628
+
version: v240.5.0
26592
26629
x-stream-breaking-changes:
26593
26630
go:
26594
26631
- CHA-3441 (2026-10-08)
@@ -33138,7 +33175,7 @@ paths:
33138
33175
/retention_policy:
33139
33176
get:
33140
33177
description: |
33141
-
Returns all retention policies configured for the app. Server-side only.
33178
+
Returns all retention policies configured for the app. The per-channel-type rules of the 'inactive-channels-by-type' policy are returned in 'channel_type_rules' rather than in 'policies'. Server-side only.
33142
33179
operationId: GetRetentionPolicy
33143
33180
responses:
33144
33181
"200":
@@ -33164,7 +33201,7 @@ paths:
33164
33201
- product:chat
33165
33202
post:
33166
33203
description: |
33167
-
Creates or updates a retention policy for the app. Server-side only.
33204
+
Creates or updates a retention policy for the app. The 'inactive-channels-by-type' policy sets the 'max_age_hours' rule of the channel type given by 'channel_type', which overrides 'inactive-channels' for that type; its response carries the saved rule in 'channel_type_rule'. Server-side only.
33168
33205
operationId: SetRetentionPolicy
33169
33206
requestBody:
33170
33207
content:
@@ -33197,7 +33234,7 @@ paths:
33197
33234
/retention_policy/delete:
33198
33235
post:
33199
33236
description: |
33200
-
Removes a retention policy for the app. Server-side only.
33237
+
Removes a retention policy for the app. For the 'inactive-channels-by-type' policy, 'channel_type' selects the rule to remove. Server-side only.
33201
33238
operationId: DeleteRetentionPolicy
33202
33239
requestBody:
33203
33240
content:
@@ -33230,7 +33267,7 @@ paths:
33230
33267
/retention_policy/runs:
33231
33268
post:
33232
33269
description: |
33233
-
Returns filtered and sorted retention cleanup run history for the app. Supports filter_conditions on 'policy' (possible values: 'old-messages', 'inactive-channels') and 'date' fields. Server-side only.
33270
+
Returns filtered and sorted retention cleanup run history for the app. Supports filter_conditions on 'policy' (possible values: 'old-messages', 'inactive-channels', 'inactive-channels@type:<channel type>', 'inactive-channels@blanket:<channel type>') and 'date' fields. Once the app has a per-channel-type rule, inactive-channels runs are recorded per channel type, under 'inactive-channels@type:<channel type>' for a type with its own rule and 'inactive-channels@blanket:<channel type>' for a type covered by the app-wide rule, and 'policy': 'inactive-channels' no longer matches new runs; filter with '$in' over the pass names of your channel types. Server-side only.
0 commit comments