@@ -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 :
@@ -1789,11 +1827,6 @@ components:
17891827 channel :
17901828 $ref : ' #/components/schemas/ChannelResponse'
17911829 x-stream-index : " 001.001"
1792- deleted_messages :
1793- items :
1794- type : string
1795- type : array
1796- x-stream-index : " 001.016"
17971830 draft :
17981831 $ref : ' #/components/schemas/DraftResponse'
17991832 x-stream-index : " 001.014"
@@ -1871,11 +1904,6 @@ components:
18711904 channel :
18721905 $ref : ' #/components/schemas/ChannelResponse'
18731906 x-stream-index : " 001"
1874- deleted_messages :
1875- items :
1876- type : string
1877- type : array
1878- x-stream-index : " 016"
18791907 draft :
18801908 $ref : ' #/components/schemas/DraftResponse'
18811909 x-stream-index : " 014"
@@ -2990,12 +3018,12 @@ components:
29903018 description : file field
29913019 title : File
29923020 type : string
2993- x-stream-index : " 002 "
3021+ x-stream-index : " 001 "
29943022 user :
29953023 $ref : ' #/components/schemas/OnlyUserID'
29963024 description : user for the request **server side only**
29973025 title : User
2998- x-stream-index : " 003 "
3026+ x-stream-index : " 002 "
29993027 type : object
30003028 FileUploadResponse :
30013029 nullable : true
@@ -3701,7 +3729,7 @@ components:
37013729 properties :
37023730 file :
37033731 type : string
3704- x-stream-index : " 001.002 "
3732+ x-stream-index : " 001.001 "
37053733 upload_sizes :
37063734 description : field with JSON-encoded array of image size configurations
37073735 items :
@@ -3711,7 +3739,7 @@ components:
37113739 x-stream-index : " 002"
37123740 user :
37133741 $ref : ' #/components/schemas/OnlyUserID'
3714- x-stream-index : " 001.003 "
3742+ x-stream-index : " 001.002 "
37153743 type : object
37163744 ImageUploadResponse :
37173745 nullable : true
@@ -10512,6 +10540,90 @@ components:
1051210540 - membership_deletion_task_id
1051310541 - duration
1051410542 type : object
10543+ UploadChannelFileRequest :
10544+ nullable : true
10545+ properties :
10546+ file :
10547+ description : file field
10548+ title : File
10549+ type : string
10550+ x-stream-index : " 002"
10551+ user :
10552+ $ref : ' #/components/schemas/OnlyUserID'
10553+ description : user for the request **server side only**
10554+ title : User
10555+ x-stream-index : " 003"
10556+ type : object
10557+ UploadChannelFileResponse :
10558+ nullable : true
10559+ properties :
10560+ duration :
10561+ description : Duration of the request in milliseconds
10562+ title : Duration
10563+ type : string
10564+ x-stream-index : " 004.001"
10565+ file :
10566+ description : URL to the uploaded asset. Should be used to put to `asset_url`
10567+ attachment field
10568+ title : File
10569+ type : string
10570+ x-stream-index : " 001"
10571+ moderation_action :
10572+ type : string
10573+ x-stream-index : " 003"
10574+ thumb_url :
10575+ description : URL of the file thumbnail for supported file formats. Should
10576+ be put to `thumb_url` attachment field
10577+ title : Thumbnail URL
10578+ type : string
10579+ x-stream-index : " 002"
10580+ required :
10581+ - duration
10582+ type : object
10583+ UploadChannelRequest :
10584+ nullable : true
10585+ properties :
10586+ file :
10587+ type : string
10588+ x-stream-index : " 001.002"
10589+ upload_sizes :
10590+ description : field with JSON-encoded array of image size configurations
10591+ items :
10592+ $ref : ' #/components/schemas/ImageSize'
10593+ title : Upload sizes
10594+ type : array
10595+ x-stream-index : " 002"
10596+ user :
10597+ $ref : ' #/components/schemas/OnlyUserID'
10598+ x-stream-index : " 001.003"
10599+ type : object
10600+ UploadChannelResponse :
10601+ nullable : true
10602+ properties :
10603+ duration :
10604+ description : Duration of the request in milliseconds
10605+ title : Duration
10606+ type : string
10607+ x-stream-index : 001.004.001
10608+ file :
10609+ type : string
10610+ x-stream-index : " 001.001"
10611+ moderation_action :
10612+ type : string
10613+ x-stream-index : " 001.003"
10614+ thumb_url :
10615+ type : string
10616+ x-stream-index : " 001.002"
10617+ upload_sizes :
10618+ description : Array of image size configurations
10619+ items :
10620+ $ref : ' #/components/schemas/ImageSize'
10621+ title : Upload sizes
10622+ type : array
10623+ x-stream-index : " 002"
10624+ required :
10625+ - duration
10626+ type : object
1051510627 UpsertPushPreferencesRequest :
1051610628 nullable : true
1051710629 properties :
@@ -11740,7 +11852,7 @@ components:
1174011852 type : apiKey
1174111853info :
1174211854 title : Stream API
11743- version : v193.9 .0
11855+ version : v196.11 .0
1174411856openapi : 3.0.3
1174511857paths :
1174611858 /app :
@@ -12346,7 +12458,7 @@ paths:
1234612458 delete :
1234712459 description : |
1234812460 Deletes previously uploaded file
12349- operationId : DeleteFile
12461+ operationId : DeleteChannelFile
1235012462 parameters :
1235112463 - in : path
1235212464 name : type
@@ -12399,7 +12511,7 @@ paths:
1239912511 post :
1240012512 description : |
1240112513 Uploads file
12402- operationId : UploadFile
12514+ operationId : UploadChannelFile
1240312515 parameters :
1240412516 - in : path
1240512517 name : type
@@ -12419,14 +12531,14 @@ paths:
1241912531 content :
1242012532 multipart/form-data :
1242112533 schema :
12422- $ref : ' #/components/schemas/FileUploadRequest '
12534+ $ref : ' #/components/schemas/UploadChannelFileRequest '
1242312535 required : true
1242412536 responses :
1242512537 " 201 " :
1242612538 content :
1242712539 application/json :
1242812540 schema :
12429- $ref : ' #/components/schemas/FileUploadResponse '
12541+ $ref : ' #/components/schemas/UploadChannelFileResponse '
1243012542 description : Successful response
1243112543 " 400 " :
1243212544 content :
@@ -12499,7 +12611,7 @@ paths:
1249912611 delete :
1250012612 description : |
1250112613 Deletes previously uploaded image
12502- operationId : DeleteImage
12614+ operationId : DeleteChannelImage
1250312615 parameters :
1250412616 - in : path
1250512617 name : type
@@ -12552,7 +12664,7 @@ paths:
1255212664 post :
1255312665 description : |
1255412666 Uploads image
12555- operationId : UploadImage
12667+ operationId : UploadChannelImage
1255612668 parameters :
1255712669 - in : path
1255812670 name : type
@@ -12572,14 +12684,14 @@ paths:
1257212684 content :
1257312685 multipart/form-data :
1257412686 schema :
12575- $ref : ' #/components/schemas/ImageUploadRequest '
12687+ $ref : ' #/components/schemas/UploadChannelRequest '
1257612688 required : true
1257712689 responses :
1257812690 " 201 " :
1257912691 content :
1258012692 application/json :
1258112693 schema :
12582- $ref : ' #/components/schemas/ImageUploadResponse '
12694+ $ref : ' #/components/schemas/UploadChannelResponse '
1258312695 description : Successful response
1258412696 " 400 " :
1258512697 content :
@@ -15572,7 +15684,7 @@ paths:
1557215684 delete :
1557315685 description : |
1557415686 Deletes previously uploaded file
15575- operationId : DeleteFileGlobal
15687+ operationId : DeleteFile
1557615688 parameters :
1557715689 - in : query
1557815690 name : url
@@ -15604,11 +15716,10 @@ paths:
1560415716 summary : Delete file
1560515717 tags :
1560615718 - product:chat
15607- x-stream-sdk-name : DeleteFile
1560815719 post :
1560915720 description : |
1561015721 Uploads file
15611- operationId : UploadFileGlobal
15722+ operationId : UploadFile
1561215723 requestBody :
1561315724 content :
1561415725 multipart/form-data :
@@ -15637,12 +15748,11 @@ paths:
1563715748 summary : Upload file
1563815749 tags :
1563915750 - product:chat
15640- x-stream-sdk-name : UploadFile
1564115751 /uploads/image :
1564215752 delete :
1564315753 description : |
1564415754 Deletes previously uploaded image
15645- operationId : DeleteImageGlobal
15755+ operationId : DeleteImage
1564615756 parameters :
1564715757 - in : query
1564815758 name : url
@@ -15674,11 +15784,10 @@ paths:
1567415784 summary : Delete image
1567515785 tags :
1567615786 - product:chat
15677- x-stream-sdk-name : DeleteImage
1567815787 post :
1567915788 description : |
1568015789 Uploads image
15681- operationId : UploadImageGlobal
15790+ operationId : UploadImage
1568215791 requestBody :
1568315792 content :
1568415793 multipart/form-data :
@@ -15707,7 +15816,6 @@ paths:
1570715816 summary : Upload image
1570815817 tags :
1570915818 - product:chat
15710- x-stream-sdk-name : UploadImage
1571115819 /users :
1571215820 get :
1571315821 description : |
0 commit comments