Skip to content

Commit d01bca0

Browse files
committed
Update video openapi Spec
1 parent 433dd14 commit d01bca0

36 files changed

+586
-256
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
@@ -4657,7 +4657,7 @@ components:
46574657
type: array
46584658
x-stream-index: "001.002"
46594659
type:
4660-
default: message.new
4660+
default: notification.thread_message_new
46614661
type: string
46624662
x-stream-index: "004.001"
46634663
user:
@@ -12092,7 +12092,7 @@ components:
1209212092
type: apiKey
1209312093
info:
1209412094
title: Stream API
12095-
version: v198.17.0
12095+
version: v198.23.1
1209612096
openapi: 3.0.3
1209712097
paths:
1209812098
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 8 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.channels.error
609+
default: export.moderation_logs.error
610610
type: string
611611
x-stream-index: "003.002"
612612
required:
@@ -8807,6 +8807,11 @@ components:
88078807
x-stream-docs-page-id: send_message
88088808
ModerationDashboardPreferences:
88098809
properties:
8810+
allowed_moderation_action_reasons:
8811+
items:
8812+
type: string
8813+
type: array
8814+
x-stream-index: "004"
88108815
disable_flagging_reviewed_entity:
88118816
type: boolean
88128817
x-stream-index: "003"
@@ -8818,7 +8823,7 @@ components:
88188823
x-stream-index: "001"
88198824
overview_dashboard:
88208825
$ref: '#/components/schemas/OverviewDashboardConfig'
8821-
x-stream-index: "004"
8826+
x-stream-index: "005"
88228827
type: object
88238828
ModerationResponse:
88248829
properties:
@@ -16723,7 +16728,7 @@ components:
1672316728
type: apiKey
1672416729
info:
1672516730
title: Stream API
16726-
version: v198.17.0
16731+
version: v198.23.1
1672716732
openapi: 3.0.3
1672816733
paths:
1672916734
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 43 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8650,6 +8650,9 @@ components:
86508650
hard_delete:
86518651
type: boolean
86528652
x-stream-index: "001"
8653+
reason:
8654+
type: string
8655+
x-stream-index: "002"
86538656
type: object
86548657
DeleteActivityResponse:
86558658
nullable: true
@@ -8854,6 +8857,9 @@ components:
88548857
hard_delete:
88558858
type: boolean
88568859
x-stream-index: "001"
8860+
reason:
8861+
type: string
8862+
x-stream-index: "002"
88578863
type: object
88588864
DeleteMessageResponse:
88598865
description: Basic response information
@@ -8886,6 +8892,9 @@ components:
88868892
hard_delete:
88878893
type: boolean
88888894
x-stream-index: "001"
8895+
reason:
8896+
type: string
8897+
x-stream-index: "002"
88898898
type: object
88908899
DeleteReactionResponse:
88918900
description: Basic response information
@@ -8951,15 +8960,18 @@ components:
89518960
properties:
89528961
delete_conversation_channels:
89538962
type: boolean
8954-
x-stream-index: "003"
8963+
x-stream-index: "004"
89558964
delete_feeds_content:
89568965
type: boolean
8957-
x-stream-index: "004"
8966+
x-stream-index: "005"
89588967
hard_delete:
89598968
type: boolean
89608969
x-stream-index: "001"
89618970
mark_messages_deleted:
89628971
type: boolean
8972+
x-stream-index: "003"
8973+
reason:
8974+
type: string
89638975
x-stream-index: "002"
89648976
type: object
89658977
DeliveryReceipts:
@@ -20674,10 +20686,10 @@ components:
2067420686
$ref: '#/components/schemas/ActionLogResponse'
2067520687
title: Actions
2067620688
type: array
20677-
x-stream-index: "024"
20689+
x-stream-index: "025"
2067820690
activity:
2067920691
$ref: '#/components/schemas/EnrichedActivity'
20680-
x-stream-index: "016"
20692+
x-stream-index: "017"
2068120693
ai_text_severity:
2068220694
description: AI-determined text severity
2068320695
title: AI Text Severity
@@ -20687,17 +20699,17 @@ components:
2068720699
$ref: '#/components/schemas/UserResponse'
2068820700
description: Moderator assigned to review this item
2068920701
title: Assigned To
20690-
x-stream-index: "021"
20702+
x-stream-index: "022"
2069120703
bans:
2069220704
description: Associated ban records
2069320705
items:
2069420706
$ref: '#/components/schemas/Ban'
2069520707
title: Bans
2069620708
type: array
20697-
x-stream-index: "022"
20709+
x-stream-index: "023"
2069820710
call:
2069920711
$ref: '#/components/schemas/CallResponse'
20700-
x-stream-index: "018"
20712+
x-stream-index: "019"
2070120713
completed_at:
2070220714
description: When the review was completed
2070320715
format: date-time
@@ -20706,7 +20718,7 @@ components:
2070620718
x-stream-index: "009"
2070720719
config_key:
2070820720
type: string
20709-
x-stream-index: "028"
20721+
x-stream-index: "029"
2071020722
created_at:
2071120723
description: When the item was created
2071220724
format: date-time
@@ -20717,12 +20729,12 @@ components:
2071720729
$ref: '#/components/schemas/EntityCreatorResponse'
2071820730
description: Details about who created the entity
2071920731
title: Entity Creator
20720-
x-stream-index: "019"
20732+
x-stream-index: "020"
2072120733
entity_creator_id:
2072220734
description: ID of who created the entity
2072320735
title: Entity Creator ID
2072420736
type: string
20725-
x-stream-index: "020"
20737+
x-stream-index: "021"
2072620738
entity_id:
2072720739
description: ID of the entity being reviewed
2072820740
title: Entity ID
@@ -20737,23 +20749,23 @@ components:
2073720749
$ref: '#/components/schemas/EnrichedActivity'
2073820750
description: Associated feed activity
2073920751
title: Feeds V2 Activity
20740-
x-stream-index: "025"
20752+
x-stream-index: "026"
2074120753
feeds_v2_reaction:
2074220754
$ref: '#/components/schemas/Reaction'
2074320755
description: Associated feed reaction
2074420756
title: Feeds V2 Reaction
20745-
x-stream-index: "026"
20757+
x-stream-index: "027"
2074620758
flags:
2074720759
description: Associated flag records
2074820760
items:
2074920761
$ref: '#/components/schemas/ModerationFlagResponse'
2075020762
title: Flags
2075120763
type: array
20752-
x-stream-index: "023"
20764+
x-stream-index: "024"
2075320765
flags_count:
2075420766
format: int32
2075520767
type: integer
20756-
x-stream-index: "029"
20768+
x-stream-index: "030"
2075720769
id:
2075820770
description: Unique identifier of the review queue item
2075920771
title: ID
@@ -20766,19 +20778,22 @@ components:
2076620778
title: Languages
2076720779
type: array
2076820780
x-stream-index: "012"
20781+
latest_moderator_action:
20782+
type: string
20783+
x-stream-index: "015"
2076920784
message:
2077020785
$ref: '#/components/schemas/MessageResponse'
2077120786
description: Associated message details
2077220787
title: Message
20773-
x-stream-index: "015"
20788+
x-stream-index: "016"
2077420789
moderation_payload:
2077520790
$ref: '#/components/schemas/ModerationPayload'
2077620791
description: Content being moderated
2077720792
title: Moderation Payload
2077820793
x-stream-index: "006"
2077920794
reaction:
2078020795
$ref: '#/components/schemas/Reaction'
20781-
x-stream-index: "017"
20796+
x-stream-index: "018"
2078220797
recommended_action:
2078320798
description: Suggested moderation action
2078420799
title: Recommended Action
@@ -20812,7 +20827,7 @@ components:
2081220827
type: string
2081320828
title: Teams
2081420829
type: array
20815-
x-stream-index: "027"
20830+
x-stream-index: "028"
2081620831
updated_at:
2081720832
description: When the item was last updated
2081820833
format: date-time
@@ -20831,6 +20846,7 @@ components:
2083120846
- languages
2083220847
- severity
2083320848
- ai_text_severity
20849+
- latest_moderator_action
2083420850
- bans
2083520851
- flags
2083620852
- actions
@@ -21535,6 +21551,10 @@ components:
2153521551
- inactivity_timeout_seconds
2153621552
type: object
2153721553
ShadowBlockActionRequest:
21554+
properties:
21555+
reason:
21556+
type: string
21557+
x-stream-index: "001"
2153821558
type: object
2153921559
SharedLocation:
2154021560
properties:
@@ -22346,6 +22366,11 @@ components:
2234622366
description: Configuration for marking item as reviewed
2234722367
title: Mark Reviewed
2234822368
x-stream-index: "007"
22369+
shadow_block:
22370+
$ref: '#/components/schemas/ShadowBlockActionRequest'
22371+
description: Configuration for shadow block action
22372+
title: Shadow Block
22373+
x-stream-index: "013"
2234922374
unban:
2235022375
$ref: '#/components/schemas/UnbanActionRequest'
2235122376
description: Configuration for unban action
@@ -26819,7 +26844,7 @@ components:
2681926844
type: apiKey
2682026845
info:
2682126846
title: Stream API
26822-
version: v198.17.0
26847+
version: v198.23.1
2682326848
openapi: 3.0.3
2682426849
paths:
2682526850
/api/v2/app:

openapi/moderation-clientside-api.json

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

0 commit comments

Comments
 (0)