Skip to content

Commit d6df031

Browse files
committed
Update video openapi Spec
1 parent 3e70048 commit d6df031

36 files changed

+19708
-5809
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: 2557 additions & 608 deletions
Large diffs are not rendered by default.

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 1864 additions & 532 deletions
Large diffs are not rendered by default.

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 2706 additions & 637 deletions
Large diffs are not rendered by default.

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: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4893,6 +4893,7 @@ components:
48934893
x-stream-event-client-type: true
48944894
x-stream-event-doc-group: other
48954895
x-stream-is-event: true
4896+
x-stream-throttle-group: critical
48964897
x-stream-ws-base-event-name: VideoEvent
48974898
ModerationFlagResponse:
48984899
nullable: true
@@ -4960,32 +4961,47 @@ components:
49604961
- updated_at
49614962
type: object
49624963
ModerationFlaggedEvent:
4964+
description: This event is sent when content is flagged for moderation
4965+
nullable: true
49634966
properties:
4967+
content_type:
4968+
description: The type of content that was flagged
4969+
title: ContentType
4970+
type: string
4971+
x-stream-index: "002"
49644972
created_at:
49654973
format: date-time
49664974
type: number
4967-
x-stream-index: "004.002"
4968-
item:
4969-
type: string
4970-
x-stream-index: "001"
4975+
x-stream-index: "001.003"
4976+
custom:
4977+
additionalProperties: {}
4978+
type: object
4979+
x-stream-index: "001.007"
49714980
object_id:
4981+
description: The ID of the flagged content
4982+
title: ObjectID
49724983
type: string
4973-
x-stream-index: "002"
4984+
x-stream-index: "003"
4985+
received_at:
4986+
format: date-time
4987+
type: number
4988+
x-stream-index: "001.004"
49744989
type:
49754990
default: moderation.flagged
49764991
type: string
4977-
x-stream-index: "004.001"
4978-
user:
4979-
$ref: '#/components/schemas/User'
4980-
x-stream-index: "003.001"
4992+
x-stream-index: "001.002"
49814993
required:
49824994
- type
49834995
- created_at
4996+
- custom
4997+
- content_type
4998+
- object_id
49844999
title: ModerationFlaggedEvent
49855000
type: object
49865001
x-stream-event-client-type: true
49875002
x-stream-event-doc-group: other
49885003
x-stream-is-event: true
5004+
x-stream-throttle-group: critical
49895005
x-stream-ws-base-event-name: VideoEvent
49905006
ModerationMarkReviewedEvent:
49915007
description: This event is sent when a moderation item is marked as reviewed
@@ -5027,6 +5043,7 @@ components:
50275043
x-stream-event-client-type: true
50285044
x-stream-event-doc-group: other
50295045
x-stream-is-event: true
5046+
x-stream-throttle-group: critical
50305047
x-stream-ws-base-event-name: VideoEvent
50315048
ModerationPayload:
50325049
properties:
@@ -7805,10 +7822,12 @@ components:
78057822
discriminator:
78067823
mapping:
78077824
moderation.custom_action: '#/components/schemas/ModerationCustomActionEvent'
7825+
moderation.flagged: '#/components/schemas/ModerationFlaggedEvent'
78087826
moderation.mark_reviewed: '#/components/schemas/ModerationMarkReviewedEvent'
78097827
propertyName: type
78107828
oneOf:
78117829
- $ref: '#/components/schemas/ModerationCustomActionEvent'
7830+
- $ref: '#/components/schemas/ModerationFlaggedEvent'
78127831
- $ref: '#/components/schemas/ModerationMarkReviewedEvent'
78137832
WSEvent:
78147833
description: The discriminator object for all websocket events, it maps events'
@@ -7864,7 +7883,7 @@ components:
78647883
type: apiKey
78657884
info:
78667885
title: Stream API
7867-
version: v219.14.0
7886+
version: v219.16.0
78687887
openapi: 3.0.3
78697888
paths:
78707889
/api/v2/moderation/appeal:

openapi/moderation-serverside-api.json

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

openapi/moderation-serverside-api.yaml

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4093,7 +4093,6 @@ components:
40934093
x-stream-index: "001"
40944094
required:
40954095
- data_types
4096-
- config_key
40974096
type: object
40984097
FeedsPreferences:
40994098
properties:
@@ -5682,27 +5681,41 @@ components:
56825681
- updated_at
56835682
type: object
56845683
ModerationFlaggedEvent:
5684+
description: This event is sent when content is flagged for moderation
5685+
nullable: true
56855686
properties:
5687+
content_type:
5688+
description: The type of content that was flagged
5689+
title: ContentType
5690+
type: string
5691+
x-stream-index: "002"
56865692
created_at:
56875693
format: date-time
56885694
type: number
5689-
x-stream-index: "004.002"
5690-
item:
5691-
type: string
5692-
x-stream-index: "001"
5695+
x-stream-index: "001.003"
5696+
custom:
5697+
additionalProperties: {}
5698+
type: object
5699+
x-stream-index: "001.007"
56935700
object_id:
5701+
description: The ID of the flagged content
5702+
title: ObjectID
56945703
type: string
5695-
x-stream-index: "002"
5704+
x-stream-index: "003"
5705+
received_at:
5706+
format: date-time
5707+
type: number
5708+
x-stream-index: "001.004"
56965709
type:
56975710
default: moderation.flagged
56985711
type: string
5699-
x-stream-index: "004.001"
5700-
user:
5701-
$ref: '#/components/schemas/User'
5702-
x-stream-index: "003.001"
5712+
x-stream-index: "001.002"
57035713
required:
57045714
- type
57055715
- created_at
5716+
- custom
5717+
- content_type
5718+
- object_id
57065719
title: ModerationFlaggedEvent
57075720
type: object
57085721
x-stream-event-client-type: true
@@ -9242,7 +9255,7 @@ components:
92429255
type: apiKey
92439256
info:
92449257
title: Stream API
9245-
version: v219.14.0
9258+
version: v219.16.0
92469259
openapi: 3.0.3
92479260
paths:
92489261
/api/v2/moderation/appeal:

0 commit comments

Comments
 (0)