Skip to content

Commit ce3d434

Browse files
chore: update OpenAPI specs to v226.24.0 (#1838)
Co-authored-by: GH Action CI Stream <ci@stream.io>
1 parent f9b8e02 commit ce3d434

58 files changed

Lines changed: 658 additions & 64 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

openapi/chat-openapi-clientside.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi-clientside.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15699,7 +15699,7 @@ components:
1569915699
type: apiKey
1570015700
info:
1570115701
title: Stream API
15702-
version: v226.23.0
15702+
version: v226.24.0
1570315703
openapi: 3.0.3
1570415704
paths:
1570515705
/app:

openapi/chat-openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ components:
601601
type: string
602602
x-stream-index: "002.001"
603603
type:
604-
default: export.moderation_logs.error
604+
default: export.bulk_image_moderation.error
605605
type: string
606606
x-stream-index: "003.002"
607607
required:
@@ -20979,7 +20979,7 @@ components:
2097920979
type: apiKey
2098020980
info:
2098120981
title: Stream API
20982-
version: v226.23.0
20982+
version: v226.24.0
2098320983
openapi: 3.0.3
2098420984
paths:
2098520985
/app:

openapi/clientside-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/clientside-api.yaml

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7126,6 +7126,54 @@ components:
71267126
title: VoteData
71277127
x-stream-index: "004"
71287128
type: object
7129+
ChangeFeedVisibilityRequest:
7130+
nullable: true
7131+
properties:
7132+
pending_follows_action:
7133+
description: 'What to do with existing pending follows when loosening visibility
7134+
from ''followers'': auto_approve (default) or reject'
7135+
enum:
7136+
- auto_approve
7137+
- reject
7138+
title: Pending Follows Action
7139+
type: string
7140+
x-stream-index: "004"
7141+
visibility:
7142+
description: 'Feed visibility level: public, visible, followers, members,
7143+
or private'
7144+
enum:
7145+
- public
7146+
- visible
7147+
- followers
7148+
- members
7149+
- private
7150+
title: Visibility
7151+
type: string
7152+
x-stream-index: "003"
7153+
required:
7154+
- visibility
7155+
title: Change Feed Visibility Request
7156+
type: object
7157+
ChangeFeedVisibilityResponse:
7158+
nullable: true
7159+
properties:
7160+
duration:
7161+
type: string
7162+
x-stream-index: "002.001"
7163+
feed:
7164+
$ref: '#/components/schemas/FeedResponse'
7165+
description: The feed with the intended new visibility. The DB is updated
7166+
asynchronously; a subsequent GET may briefly return the previous visibility
7167+
until the background reconciliation task commits. Numeric fields (follower_count,
7168+
member_count, pending-follow counts) reflect pre-change state and should
7169+
be considered stale until reconciliation completes.
7170+
title: Feed
7171+
x-stream-index: "001"
7172+
required:
7173+
- feed
7174+
- duration
7175+
title: Change Feed Visibility Response
7176+
type: object
71297177
ChannelConfig:
71307178
description: Channel configuration overrides
71317179
properties:
@@ -36668,7 +36716,7 @@ components:
3666836716
type: apiKey
3666936717
info:
3667036718
title: Stream API
36671-
version: v226.23.0
36719+
version: v226.24.0
3667236720
openapi: 3.0.3
3667336721
paths:
3667436722
/api/v2/app:
@@ -41974,6 +42022,57 @@ paths:
4197442022
summary: Mark activities as read/seen/watched
4197542023
tags:
4197642024
- product:feeds
42025+
/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/change_visibility:
42026+
post:
42027+
description: |
42028+
Changes the visibility of an existing feed. Follow reconciliation (rewriting pending follows on loosening, or removing disallowed follows/members on tightening) runs asynchronously in the background; the response returns optimistically with the intended visibility.
42029+
operationId: ChangeFeedVisibility
42030+
parameters:
42031+
- in: path
42032+
name: feed_group_id
42033+
required: true
42034+
schema:
42035+
maxLength: 255
42036+
type: string
42037+
writeOnly: true
42038+
x-stream-index: "001"
42039+
- in: path
42040+
name: feed_id
42041+
required: true
42042+
schema:
42043+
maxLength: 255
42044+
type: string
42045+
writeOnly: true
42046+
x-stream-index: "002"
42047+
requestBody:
42048+
content:
42049+
application/json:
42050+
schema:
42051+
$ref: '#/components/schemas/ChangeFeedVisibilityRequest'
42052+
description: Change Feed Visibility Request
42053+
required: true
42054+
responses:
42055+
"201":
42056+
content:
42057+
application/json:
42058+
schema:
42059+
$ref: '#/components/schemas/ChangeFeedVisibilityResponse'
42060+
description: Change Feed Visibility Response
42061+
"400":
42062+
content:
42063+
application/json:
42064+
schema:
42065+
$ref: '#/components/schemas/APIError'
42066+
description: Bad request
42067+
"429":
42068+
content:
42069+
application/json:
42070+
schema:
42071+
$ref: '#/components/schemas/APIError'
42072+
description: Too many requests
42073+
summary: Change a feed's visibility
42074+
tags:
42075+
- product:feeds
4197742076
/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/members:
4197842077
patch:
4197942078
description: |

openapi/moderation-clientside-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/moderation-clientside-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6364,7 +6364,7 @@ components:
63646364
type: apiKey
63656365
info:
63666366
title: Stream API
6367-
version: v226.23.0
6367+
version: v226.24.0
63686368
openapi: 3.0.3
63696369
paths:
63706370
/api/v2/moderation/action_config:

openapi/moderation-openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/moderation-openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4570,7 +4570,7 @@ components:
45704570
type: apiKey
45714571
info:
45724572
title: Stream API
4573-
version: v226.23.0
4573+
version: v226.24.0
45744574
openapi: 3.0.3
45754575
paths:
45764576
/api/v1/moderation/chat_message_tasks:

0 commit comments

Comments
 (0)