Skip to content

Commit 74616ae

Browse files
committed
Update video openapi Spec
1 parent 069bfe1 commit 74616ae

36 files changed

+6065
-1108
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: 59 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -726,26 +726,26 @@ components:
726726
items:
727727
$ref: '#/components/schemas/SharedLocation'
728728
type: array
729-
x-stream-index: "034"
729+
x-stream-index: "035"
730730
auto_translation_enabled:
731731
type: boolean
732-
x-stream-index: "029"
732+
x-stream-index: "030"
733733
auto_translation_language:
734734
type: string
735-
x-stream-index: "030"
735+
x-stream-index: "031"
736736
cid:
737737
type: string
738738
x-stream-index: "003"
739739
config:
740740
$ref: '#/components/schemas/ChannelConfig'
741-
x-stream-index: "026"
741+
x-stream-index: "027"
742742
config_overrides:
743743
$ref: '#/components/schemas/ConfigOverrides'
744-
x-stream-index: "027"
744+
x-stream-index: "028"
745745
cooldown:
746746
format: int32
747747
type: integer
748-
x-stream-index: "031"
748+
x-stream-index: "032"
749749
created_at:
750750
format: date-time
751751
type: string
@@ -774,10 +774,10 @@ components:
774774
items:
775775
$ref: '#/components/schemas/ChannelMember'
776776
type: array
777-
x-stream-index: "022"
777+
x-stream-index: "023"
778778
last_campaigns:
779779
type: string
780-
x-stream-index: "032"
780+
x-stream-index: "033"
781781
last_message_at:
782782
format: date-time
783783
type: string
@@ -791,17 +791,22 @@ components:
791791
$ref: '#/components/schemas/ChannelMember'
792792
type: array
793793
x-stream-index: "020"
794+
members_lookup:
795+
additionalProperties:
796+
$ref: '#/components/schemas/ChannelMemberLookup'
797+
type: object
798+
x-stream-index: "022"
794799
message_count:
795800
format: int64
796801
type: integer
797-
x-stream-index: "035"
802+
x-stream-index: "036"
798803
message_count_updated_at:
799804
format: date-time
800805
type: string
801-
x-stream-index: "036"
806+
x-stream-index: "037"
802807
team:
803808
type: string
804-
x-stream-index: "028"
809+
x-stream-index: "029"
805810
truncated_by:
806811
$ref: '#/components/schemas/User'
807812
x-stream-index: "015"
@@ -1523,6 +1528,39 @@ components:
15231528
- notifications_muted
15241529
title: Channel member
15251530
type: object
1531+
ChannelMemberLookup:
1532+
nullable: true
1533+
properties:
1534+
archived:
1535+
type: boolean
1536+
x-stream-index: "003"
1537+
archived_at:
1538+
format: date-time
1539+
type: string
1540+
x-stream-index: "006"
1541+
ban_expires:
1542+
format: date-time
1543+
type: string
1544+
x-stream-index: "007"
1545+
banned:
1546+
type: boolean
1547+
x-stream-index: "004"
1548+
hidden:
1549+
type: boolean
1550+
x-stream-index: "001"
1551+
pinned:
1552+
type: boolean
1553+
x-stream-index: "002"
1554+
pinned_at:
1555+
format: date-time
1556+
type: string
1557+
x-stream-index: "005"
1558+
required:
1559+
- hidden
1560+
- pinned
1561+
- archived
1562+
- banned
1563+
type: object
15261564
ChannelMemberResponse:
15271565
properties:
15281566
channel_role:
@@ -3004,13 +3042,16 @@ components:
30043042
description: Duration of the request in milliseconds
30053043
title: Duration
30063044
type: string
3007-
x-stream-index: "003.001"
3045+
x-stream-index: "004.001"
30083046
file:
30093047
description: URL to the uploaded asset. Should be used to put to `asset_url`
30103048
attachment field
30113049
title: File
30123050
type: string
30133051
x-stream-index: "001"
3052+
moderation_action:
3053+
type: string
3054+
x-stream-index: "003"
30143055
thumb_url:
30153056
description: URL of the file thumbnail for supported file formats. Should
30163057
be put to `thumb_url` attachment field
@@ -3720,10 +3761,13 @@ components:
37203761
description: Duration of the request in milliseconds
37213762
title: Duration
37223763
type: string
3723-
x-stream-index: 001.003.001
3764+
x-stream-index: 001.004.001
37243765
file:
37253766
type: string
37263767
x-stream-index: "001.001"
3768+
moderation_action:
3769+
type: string
3770+
x-stream-index: "001.003"
37273771
thumb_url:
37283772
type: string
37293773
x-stream-index: "001.002"
@@ -4487,7 +4531,7 @@ components:
44874531
type: array
44884532
x-stream-index: "001.002"
44894533
type:
4490-
default: message.new
4534+
default: notification.thread_message_new
44914535
type: string
44924536
x-stream-index: "004.001"
44934537
user:
@@ -11740,7 +11784,7 @@ components:
1174011784
type: apiKey
1174111785
info:
1174211786
title: Stream API
11743-
version: v193.9.0
11787+
version: v196.7.0
1174411788
openapi: 3.0.3
1174511789
paths:
1174611790
/app:

openapi/chat-openapi.json

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

0 commit comments

Comments
 (0)