Skip to content

Commit f4c64ab

Browse files
authored
Update video openapi Spec (#1535)
2 parents 596b981 + f53707f commit f4c64ab

36 files changed

+486
-156
lines changed

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4711,7 +4711,7 @@ components:
47114711
type: array
47124712
x-stream-index: "001.002"
47134713
type:
4714-
default: message.new
4714+
default: notification.thread_message_new
47154715
type: string
47164716
x-stream-index: "004.001"
47174717
user:
@@ -12137,7 +12137,7 @@ components:
1213712137
type: apiKey
1213812138
info:
1213912139
title: Stream API
12140-
version: v213.15.0
12140+
version: v213.18.1
1214112141
openapi: 3.0.3
1214212142
paths:
1214312143
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ components:
606606
type: string
607607
x-stream-index: "002.001"
608608
type:
609-
default: export.moderation_logs.error
609+
default: export.channels.error
610610
type: string
611611
x-stream-index: "003.002"
612612
required:
@@ -8109,7 +8109,7 @@ components:
81098109
type: array
81108110
x-stream-index: "001.002"
81118111
type:
8112-
default: message.new
8112+
default: notification.thread_message_new
81138113
type: string
81148114
x-stream-index: "004.001"
81158115
user:
@@ -17046,7 +17046,7 @@ components:
1704617046
type: apiKey
1704717047
info:
1704817048
title: Stream API
17049-
version: v213.15.0
17049+
version: v213.18.1
1705017050
openapi: 3.0.3
1705117051
paths:
1705217052
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 54 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10205,6 +10205,9 @@ components:
1020510205
type: object
1020610206
EnrichmentOptions:
1020710207
properties:
10208+
enrich_own_followings:
10209+
type: boolean
10210+
x-stream-index: "016"
1020810211
skip_activity:
1020910212
type: boolean
1021010213
x-stream-index: "001"
@@ -10237,7 +10240,7 @@ components:
1023710240
x-stream-index: "009"
1023810241
skip_all:
1023910242
type: boolean
10240-
x-stream-index: "017"
10243+
x-stream-index: "018"
1024110244
skip_feed_member_user:
1024210245
type: boolean
1024310246
x-stream-index: "012"
@@ -10249,7 +10252,7 @@ components:
1024910252
x-stream-index: "014"
1025010253
skip_own_capabilities:
1025110254
type: boolean
10252-
x-stream-index: "016"
10255+
x-stream-index: "017"
1025310256
skip_own_follows:
1025410257
type: boolean
1025510258
x-stream-index: "015"
@@ -10999,6 +11002,14 @@ components:
1099911002
$ref: '#/components/schemas/FeedOwnCapability'
1100011003
title: Own Capabilities
1100111004
type: array
11005+
x-stream-index: "003"
11006+
own_followings:
11007+
description: Follow relationships where the feed owner's feeds are following
11008+
the current user's feeds (up to 5 total)
11009+
items:
11010+
$ref: '#/components/schemas/FollowResponse'
11011+
title: Own Followings
11012+
type: array
1100211013
x-stream-index: "002"
1100311014
own_follows:
1100411015
description: Follow relationships where the current user's feeds are following
@@ -11012,7 +11023,7 @@ components:
1101211023
$ref: '#/components/schemas/FeedMemberResponse'
1101311024
description: Membership information for the current user in this feed
1101411025
title: Own Membership
11015-
x-stream-index: "003"
11026+
x-stream-index: "004"
1101611027
title: Feed Own Data
1101711028
type: object
1101811029
FeedRequest:
@@ -11094,7 +11105,7 @@ components:
1109411105
format: date-time
1109511106
title: Created At
1109611107
type: number
11097-
x-stream-index: "018"
11108+
x-stream-index: "019"
1109811109
created_by:
1109911110
$ref: '#/components/schemas/UserResponse'
1110011111
description: User who created the feed
@@ -11111,7 +11122,7 @@ components:
1111111122
format: date-time
1111211123
title: Deleted At
1111311124
type: number
11114-
x-stream-index: "020"
11125+
x-stream-index: "021"
1111511126
description:
1111611127
description: Description of the feed
1111711128
title: Description
@@ -11168,6 +11179,14 @@ components:
1116811179
$ref: '#/components/schemas/FeedOwnCapability'
1116911180
title: Own Capabilities
1117011181
type: array
11182+
x-stream-index: "017"
11183+
own_followings:
11184+
description: Follow relationships where the feed owner’s feeds are following
11185+
the current user's feeds
11186+
items:
11187+
$ref: '#/components/schemas/FollowResponse'
11188+
title: Own Followings
11189+
type: array
1117111190
x-stream-index: "016"
1117211191
own_follows:
1117311192
description: Follow relationships where the current user's feeds are following
@@ -11181,7 +11200,7 @@ components:
1118111200
$ref: '#/components/schemas/FeedMemberResponse'
1118211201
description: Membership information for the current user in this feed
1118311202
title: Own Membership
11184-
x-stream-index: "017"
11203+
x-stream-index: "018"
1118511204
pin_count:
1118611205
description: Number of pinned activities in this feed
1118711206
format: int32
@@ -11193,7 +11212,7 @@ components:
1119311212
format: date-time
1119411213
title: Updated At
1119511214
type: number
11196-
x-stream-index: "019"
11215+
x-stream-index: "020"
1119711216
visibility:
1119811217
description: Visibility setting for the feed
1119911218
title: Visibility
@@ -11232,7 +11251,7 @@ components:
1123211251
format: date-time
1123311252
title: Created At
1123411253
type: number
11235-
x-stream-index: "001.018"
11254+
x-stream-index: "001.019"
1123611255
created_by:
1123711256
$ref: '#/components/schemas/UserResponse'
1123811257
description: User who created the feed
@@ -11249,7 +11268,7 @@ components:
1124911268
format: date-time
1125011269
title: Deleted At
1125111270
type: number
11252-
x-stream-index: "001.020"
11271+
x-stream-index: "001.021"
1125311272
description:
1125411273
description: Description of the feed
1125511274
title: Description
@@ -11306,6 +11325,14 @@ components:
1130611325
$ref: '#/components/schemas/FeedOwnCapability'
1130711326
title: Own Capabilities
1130811327
type: array
11328+
x-stream-index: "001.017"
11329+
own_followings:
11330+
description: Follow relationships where the feed owner’s feeds are following
11331+
the current user's feeds
11332+
items:
11333+
$ref: '#/components/schemas/FollowResponse'
11334+
title: Own Followings
11335+
type: array
1130911336
x-stream-index: "001.016"
1131011337
own_follows:
1131111338
description: Follow relationships where the current user's feeds are following
@@ -11319,7 +11346,7 @@ components:
1131911346
$ref: '#/components/schemas/FeedMemberResponse'
1132011347
description: Membership information for the current user in this feed
1132111348
title: Own Membership
11322-
x-stream-index: "001.017"
11349+
x-stream-index: "001.018"
1132311350
pin_count:
1132411351
description: Number of pinned activities in this feed
1132511352
format: int32
@@ -11338,7 +11365,7 @@ components:
1133811365
format: date-time
1133911366
title: Updated At
1134011367
type: number
11341-
x-stream-index: "001.019"
11368+
x-stream-index: "001.020"
1134211369
visibility:
1134311370
description: Visibility setting for the feed
1134411371
title: Visibility
@@ -14919,7 +14946,7 @@ components:
1491914946
type: array
1492014947
x-stream-index: "001.002"
1492114948
type:
14922-
default: notification.thread_message_new
14949+
default: message.new
1492314950
type: string
1492414951
x-stream-index: "004.001"
1492514952
user:
@@ -17178,8 +17205,9 @@ components:
1717817205
- id
1717917206
type: object
1718017207
OwnBatchRequest:
17181-
description: Request to get own_follows, own_capabilities, and/or own_membership
17182-
for multiple feeds. If fields is not specified, all three fields are returned.
17208+
description: Request to get own_follows, own_followings, own_capabilities, and/or
17209+
own_membership for multiple feeds. If fields is not specified, all fields
17210+
are returned.
1718317211
nullable: true
1718417212
properties:
1718517213
feeds:
@@ -17193,7 +17221,8 @@ components:
1719317221
x-stream-index: "001"
1719417222
fields:
1719517223
description: Optional list of specific fields to return. If not specified,
17196-
all fields (own_follows, own_capabilities, own_membership) are returned
17224+
all fields (own_follows, own_followings, own_capabilities, own_membership)
17225+
are returned
1719717226
items:
1719817227
type: string
1719917228
title: Fields
@@ -24372,6 +24401,15 @@ components:
2437224401
type: string
2437324402
type: object
2437424403
x-stream-index: "004"
24404+
semantic_filter_min_threshold:
24405+
format: float
24406+
type: number
24407+
x-stream-index: "009"
24408+
semantic_filter_names:
24409+
items:
24410+
type: string
24411+
type: array
24412+
x-stream-index: "008"
2437524413
severity:
2437624414
type: string
2437724415
x-stream-index: "006"
@@ -28802,7 +28840,7 @@ components:
2880228840
type: apiKey
2880328841
info:
2880428842
title: Stream API
28805-
version: v213.15.0
28843+
version: v213.18.1
2880628844
openapi: 3.0.3
2880728845
paths:
2880828846
/api/v2/app:

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: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3250,7 +3250,7 @@ components:
32503250
format: date-time
32513251
title: Created At
32523252
type: number
3253-
x-stream-index: "018"
3253+
x-stream-index: "019"
32543254
created_by:
32553255
$ref: '#/components/schemas/UserResponse'
32563256
description: User who created the feed
@@ -3267,7 +3267,7 @@ components:
32673267
format: date-time
32683268
title: Deleted At
32693269
type: number
3270-
x-stream-index: "020"
3270+
x-stream-index: "021"
32713271
description:
32723272
description: Description of the feed
32733273
title: Description
@@ -3324,6 +3324,14 @@ components:
33243324
$ref: '#/components/schemas/FeedOwnCapability'
33253325
title: Own Capabilities
33263326
type: array
3327+
x-stream-index: "017"
3328+
own_followings:
3329+
description: Follow relationships where the feed owner’s feeds are following
3330+
the current user's feeds
3331+
items:
3332+
$ref: '#/components/schemas/FollowResponse'
3333+
title: Own Followings
3334+
type: array
33273335
x-stream-index: "016"
33283336
own_follows:
33293337
description: Follow relationships where the current user's feeds are following
@@ -3337,7 +3345,7 @@ components:
33373345
$ref: '#/components/schemas/FeedMemberResponse'
33383346
description: Membership information for the current user in this feed
33393347
title: Own Membership
3340-
x-stream-index: "017"
3348+
x-stream-index: "018"
33413349
pin_count:
33423350
description: Number of pinned activities in this feed
33433351
format: int32
@@ -3349,7 +3357,7 @@ components:
33493357
format: date-time
33503358
title: Updated At
33513359
type: number
3352-
x-stream-index: "019"
3360+
x-stream-index: "020"
33533361
visibility:
33543362
description: Visibility setting for the feed
33553363
title: Visibility
@@ -6688,6 +6696,15 @@ components:
66886696
type: string
66896697
type: object
66906698
x-stream-index: "004"
6699+
semantic_filter_min_threshold:
6700+
format: float
6701+
type: number
6702+
x-stream-index: "009"
6703+
semantic_filter_names:
6704+
items:
6705+
type: string
6706+
type: array
6707+
x-stream-index: "008"
66916708
severity:
66926709
type: string
66936710
x-stream-index: "006"
@@ -7491,7 +7508,7 @@ components:
74917508
type: apiKey
74927509
info:
74937510
title: Stream API
7494-
version: v213.15.0
7511+
version: v213.18.1
74957512
openapi: 3.0.3
74967513
paths:
74977514
/api/v2/moderation/ban:

openapi/moderation-serverside-api.json

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

0 commit comments

Comments
 (0)