Skip to content

Commit f640ecb

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

36 files changed

+757
-358
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.25.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: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.25.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: 48 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -622,12 +622,16 @@ components:
622622
lat:
623623
description: Latitude coordinate
624624
format: float
625+
maximum: 90
626+
minimum: 1.8446744073709552e+19
625627
title: Latitude
626628
type: number
627629
x-stream-index: "001"
628630
lng:
629631
description: Longitude coordinate
630632
format: float
633+
maximum: 180
634+
minimum: 1.8446744073709552e+19
631635
title: Longitude
632636
type: number
633637
x-stream-index: "002"
@@ -8650,6 +8654,9 @@ components:
86508654
hard_delete:
86518655
type: boolean
86528656
x-stream-index: "001"
8657+
reason:
8658+
type: string
8659+
x-stream-index: "002"
86538660
type: object
86548661
DeleteActivityResponse:
86558662
nullable: true
@@ -8854,6 +8861,9 @@ components:
88548861
hard_delete:
88558862
type: boolean
88568863
x-stream-index: "001"
8864+
reason:
8865+
type: string
8866+
x-stream-index: "002"
88578867
type: object
88588868
DeleteMessageResponse:
88598869
description: Basic response information
@@ -8886,6 +8896,9 @@ components:
88868896
hard_delete:
88878897
type: boolean
88888898
x-stream-index: "001"
8899+
reason:
8900+
type: string
8901+
x-stream-index: "002"
88898902
type: object
88908903
DeleteReactionResponse:
88918904
description: Basic response information
@@ -8951,15 +8964,18 @@ components:
89518964
properties:
89528965
delete_conversation_channels:
89538966
type: boolean
8954-
x-stream-index: "003"
8967+
x-stream-index: "004"
89558968
delete_feeds_content:
89568969
type: boolean
8957-
x-stream-index: "004"
8970+
x-stream-index: "005"
89588971
hard_delete:
89598972
type: boolean
89608973
x-stream-index: "001"
89618974
mark_messages_deleted:
89628975
type: boolean
8976+
x-stream-index: "003"
8977+
reason:
8978+
type: string
89638979
x-stream-index: "002"
89648980
type: object
89658981
DeliveryReceipts:
@@ -13801,7 +13817,7 @@ components:
1380113817
type: array
1380213818
x-stream-index: "001.002"
1380313819
type:
13804-
default: notification.thread_message_new
13820+
default: message.new
1380513821
type: string
1380613822
x-stream-index: "004.001"
1380713823
user:
@@ -20674,10 +20690,10 @@ components:
2067420690
$ref: '#/components/schemas/ActionLogResponse'
2067520691
title: Actions
2067620692
type: array
20677-
x-stream-index: "024"
20693+
x-stream-index: "025"
2067820694
activity:
2067920695
$ref: '#/components/schemas/EnrichedActivity'
20680-
x-stream-index: "016"
20696+
x-stream-index: "017"
2068120697
ai_text_severity:
2068220698
description: AI-determined text severity
2068320699
title: AI Text Severity
@@ -20687,17 +20703,17 @@ components:
2068720703
$ref: '#/components/schemas/UserResponse'
2068820704
description: Moderator assigned to review this item
2068920705
title: Assigned To
20690-
x-stream-index: "021"
20706+
x-stream-index: "022"
2069120707
bans:
2069220708
description: Associated ban records
2069320709
items:
2069420710
$ref: '#/components/schemas/Ban'
2069520711
title: Bans
2069620712
type: array
20697-
x-stream-index: "022"
20713+
x-stream-index: "023"
2069820714
call:
2069920715
$ref: '#/components/schemas/CallResponse'
20700-
x-stream-index: "018"
20716+
x-stream-index: "019"
2070120717
completed_at:
2070220718
description: When the review was completed
2070320719
format: date-time
@@ -20706,7 +20722,7 @@ components:
2070620722
x-stream-index: "009"
2070720723
config_key:
2070820724
type: string
20709-
x-stream-index: "028"
20725+
x-stream-index: "029"
2071020726
created_at:
2071120727
description: When the item was created
2071220728
format: date-time
@@ -20717,12 +20733,12 @@ components:
2071720733
$ref: '#/components/schemas/EntityCreatorResponse'
2071820734
description: Details about who created the entity
2071920735
title: Entity Creator
20720-
x-stream-index: "019"
20736+
x-stream-index: "020"
2072120737
entity_creator_id:
2072220738
description: ID of who created the entity
2072320739
title: Entity Creator ID
2072420740
type: string
20725-
x-stream-index: "020"
20741+
x-stream-index: "021"
2072620742
entity_id:
2072720743
description: ID of the entity being reviewed
2072820744
title: Entity ID
@@ -20737,23 +20753,23 @@ components:
2073720753
$ref: '#/components/schemas/EnrichedActivity'
2073820754
description: Associated feed activity
2073920755
title: Feeds V2 Activity
20740-
x-stream-index: "025"
20756+
x-stream-index: "026"
2074120757
feeds_v2_reaction:
2074220758
$ref: '#/components/schemas/Reaction'
2074320759
description: Associated feed reaction
2074420760
title: Feeds V2 Reaction
20745-
x-stream-index: "026"
20761+
x-stream-index: "027"
2074620762
flags:
2074720763
description: Associated flag records
2074820764
items:
2074920765
$ref: '#/components/schemas/ModerationFlagResponse'
2075020766
title: Flags
2075120767
type: array
20752-
x-stream-index: "023"
20768+
x-stream-index: "024"
2075320769
flags_count:
2075420770
format: int32
2075520771
type: integer
20756-
x-stream-index: "029"
20772+
x-stream-index: "030"
2075720773
id:
2075820774
description: Unique identifier of the review queue item
2075920775
title: ID
@@ -20766,19 +20782,22 @@ components:
2076620782
title: Languages
2076720783
type: array
2076820784
x-stream-index: "012"
20785+
latest_moderator_action:
20786+
type: string
20787+
x-stream-index: "015"
2076920788
message:
2077020789
$ref: '#/components/schemas/MessageResponse'
2077120790
description: Associated message details
2077220791
title: Message
20773-
x-stream-index: "015"
20792+
x-stream-index: "016"
2077420793
moderation_payload:
2077520794
$ref: '#/components/schemas/ModerationPayload'
2077620795
description: Content being moderated
2077720796
title: Moderation Payload
2077820797
x-stream-index: "006"
2077920798
reaction:
2078020799
$ref: '#/components/schemas/Reaction'
20781-
x-stream-index: "017"
20800+
x-stream-index: "018"
2078220801
recommended_action:
2078320802
description: Suggested moderation action
2078420803
title: Recommended Action
@@ -20812,7 +20831,7 @@ components:
2081220831
type: string
2081320832
title: Teams
2081420833
type: array
20815-
x-stream-index: "027"
20834+
x-stream-index: "028"
2081620835
updated_at:
2081720836
description: When the item was last updated
2081820837
format: date-time
@@ -20831,6 +20850,7 @@ components:
2083120850
- languages
2083220851
- severity
2083320852
- ai_text_severity
20853+
- latest_moderator_action
2083420854
- bans
2083520855
- flags
2083620856
- actions
@@ -21535,6 +21555,10 @@ components:
2153521555
- inactivity_timeout_seconds
2153621556
type: object
2153721557
ShadowBlockActionRequest:
21558+
properties:
21559+
reason:
21560+
type: string
21561+
x-stream-index: "001"
2153821562
type: object
2153921563
SharedLocation:
2154021564
properties:
@@ -22346,6 +22370,11 @@ components:
2234622370
description: Configuration for marking item as reviewed
2234722371
title: Mark Reviewed
2234822372
x-stream-index: "007"
22373+
shadow_block:
22374+
$ref: '#/components/schemas/ShadowBlockActionRequest'
22375+
description: Configuration for shadow block action
22376+
title: Shadow Block
22377+
x-stream-index: "013"
2234922378
unban:
2235022379
$ref: '#/components/schemas/UnbanActionRequest'
2235122380
description: Configuration for unban action
@@ -26819,7 +26848,7 @@ components:
2681926848
type: apiKey
2682026849
info:
2682126850
title: Stream API
26822-
version: v198.17.0
26851+
version: v198.25.1
2682326852
openapi: 3.0.3
2682426853
paths:
2682526854
/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)