Skip to content

Commit 822b0de

Browse files
committed
Update video openapi Spec
1 parent ca235af commit 822b0de

32 files changed

+884
-145
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: 57 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3181,6 +3181,10 @@ components:
31813181
type: object
31823182
FullUserResponse:
31833183
properties:
3184+
avg_response_time:
3185+
format: int32
3186+
type: integer
3187+
x-stream-index: "001.018"
31843188
ban_expires:
31853189
format: date-time
31863190
type: string
@@ -6034,6 +6038,10 @@ components:
60346038
type: object
60356039
OwnUser:
60366040
properties:
6041+
avg_response_time:
6042+
format: int32
6043+
type: integer
6044+
x-stream-index: "046"
60376045
banned:
60386046
type: boolean
60396047
x-stream-index: "016"
@@ -6163,6 +6171,10 @@ components:
61636171
type: object
61646172
OwnUserResponse:
61656173
properties:
6174+
avg_response_time:
6175+
format: int32
6176+
type: integer
6177+
x-stream-index: "001.018"
61666178
banned:
61676179
type: boolean
61686180
x-stream-index: "001.012"
@@ -8186,6 +8198,12 @@ components:
81868198
title: Message ID
81878199
type: string
81888200
x-stream-index: "001.002"
8201+
parent_id:
8202+
description: The ID of the parent message, if the reminder is for a thread
8203+
message
8204+
title: Parent ID
8205+
type: string
8206+
x-stream-index: "001.005"
81898207
received_at:
81908208
format: date-time
81918209
type: string
@@ -8194,7 +8212,7 @@ components:
81948212
$ref: '#/components/schemas/ReminderResponseData'
81958213
description: The reminder object which was created
81968214
title: MessageReminder
8197-
x-stream-index: "001.005"
8215+
x-stream-index: "001.006"
81988216
type:
81998217
default: reminder.created
82008218
description: 'The type of event: "reminder.created" in this case'
@@ -8243,6 +8261,12 @@ components:
82438261
title: Message ID
82448262
type: string
82458263
x-stream-index: "001.002"
8264+
parent_id:
8265+
description: The ID of the parent message, if the reminder is for a thread
8266+
message
8267+
title: Parent ID
8268+
type: string
8269+
x-stream-index: "001.005"
82468270
received_at:
82478271
format: date-time
82488272
type: string
@@ -8251,7 +8275,7 @@ components:
82518275
$ref: '#/components/schemas/ReminderResponseData'
82528276
description: The reminder object which was created
82538277
title: MessageReminder
8254-
x-stream-index: "001.005"
8278+
x-stream-index: "001.006"
82558279
type:
82568280
default: reminder.deleted
82578281
description: 'The type of event: "reminder.deleted" in this case'
@@ -8301,6 +8325,9 @@ components:
83018325
title: Message ID
83028326
type: string
83038327
x-stream-index: "001.002"
8328+
parent_id:
8329+
type: string
8330+
x-stream-index: "001.005"
83048331
received_at:
83058332
format: date-time
83068333
type: string
@@ -8309,7 +8336,7 @@ components:
83098336
$ref: '#/components/schemas/ReminderResponseData'
83108337
description: The reminder object which was created
83118338
title: MessageReminder
8312-
x-stream-index: "001.005"
8339+
x-stream-index: "001.006"
83138340
type:
83148341
default: notification.reminder_due
83158342
description: 'The type of event: "notification.reminder_due" in this case'
@@ -8374,7 +8401,7 @@ components:
83748401
- updated_at
83758402
type: object
83768403
ReminderUpdatedEvent:
8377-
description: Emitted when a reminder is deleted.
8404+
description: Emitted when a reminder is updated.
83788405
nullable: true
83798406
properties:
83808407
cid:
@@ -8397,6 +8424,12 @@ components:
83978424
title: Message ID
83988425
type: string
83998426
x-stream-index: "001.002"
8427+
parent_id:
8428+
description: The ID of the parent message, if the reminder is for a thread
8429+
message
8430+
title: Parent ID
8431+
type: string
8432+
x-stream-index: "001.005"
84008433
received_at:
84018434
format: date-time
84028435
type: string
@@ -8405,7 +8438,7 @@ components:
84058438
$ref: '#/components/schemas/ReminderResponseData'
84068439
description: The reminder object which was created
84078440
title: MessageReminder
8408-
x-stream-index: "001.005"
8441+
x-stream-index: "001.006"
84098442
type:
84108443
default: reminder.updated
84118444
description: 'The type of event: "reminder.updated" in this case'
@@ -9997,17 +10030,12 @@ components:
999710030
UpdateLiveLocationRequest:
999810031
nullable: true
999910032
properties:
10000-
created_by_device_id:
10001-
description: Device ID that created the live location
10002-
title: string
10003-
type: string
10004-
x-stream-index: "004"
1000510033
end_at:
1000610034
description: Time when the live location expires
1000710035
format: date-time
1000810036
title: string
1000910037
type: string
10010-
x-stream-index: "005"
10038+
x-stream-index: "004"
1001110039
latitude:
1001210040
description: Latitude coordinate
1001310041
format: float
@@ -10031,7 +10059,6 @@ components:
1003110059
x-stream-index: "001"
1003210060
required:
1003310061
- message_id
10034-
- created_by_device_id
1003510062
type: object
1003610063
UpdateMemberPartialRequest:
1003710064
nullable: true
@@ -10446,6 +10473,11 @@ components:
1044610473
type: object
1044710474
User:
1044810475
properties:
10476+
avg_response_time:
10477+
format: int32
10478+
readOnly: true
10479+
type: integer
10480+
x-stream-index: "046"
1044910481
ban_expires:
1045010482
format: date-time
1045110483
type: string
@@ -10814,6 +10846,10 @@ components:
1081410846
UserResponse:
1081510847
description: User response object
1081610848
properties:
10849+
avg_response_time:
10850+
format: int32
10851+
type: integer
10852+
x-stream-index: "001.018"
1081710853
banned:
1081810854
description: Whether a user is banned or not
1081910855
title: Banned
@@ -10924,6 +10960,10 @@ components:
1092410960
type: object
1092510961
UserResponseCommonFields:
1092610962
properties:
10963+
avg_response_time:
10964+
format: int32
10965+
type: integer
10966+
x-stream-index: "018"
1092710967
banned:
1092810968
type: boolean
1092910969
x-stream-index: "012"
@@ -11002,6 +11042,10 @@ components:
1100211042
type: object
1100311043
UserResponsePrivacyFields:
1100411044
properties:
11045+
avg_response_time:
11046+
format: int32
11047+
type: integer
11048+
x-stream-index: "001.018"
1100511049
banned:
1100611050
type: boolean
1100711051
x-stream-index: "001.012"
@@ -11477,7 +11521,6 @@ components:
1147711521
required:
1147811522
- total_unread_count
1147911523
- total_unread_threads_count
11480-
- total_unread_count_by_team
1148111524
- channels
1148211525
- channel_type
1148311526
- threads
@@ -11528,7 +11571,7 @@ components:
1152811571
type: apiKey
1152911572
info:
1153011573
title: Stream API
11531-
version: v186.5.0
11574+
version: v186.10.0
1153211575
openapi: 3.0.3
1153311576
paths:
1153411577
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5412,6 +5412,10 @@ components:
54125412
type: object
54135413
FullUserResponse:
54145414
properties:
5415+
avg_response_time:
5416+
format: int32
5417+
type: integer
5418+
x-stream-index: "001.018"
54155419
ban_expires:
54165420
format: date-time
54175421
type: string
@@ -8737,6 +8741,10 @@ components:
87378741
type: object
87388742
OwnUser:
87398743
properties:
8744+
avg_response_time:
8745+
format: int32
8746+
type: integer
8747+
x-stream-index: "046"
87408748
banned:
87418749
type: boolean
87428750
x-stream-index: "016"
@@ -8866,6 +8874,10 @@ components:
88668874
type: object
88678875
OwnUserResponse:
88688876
properties:
8877+
avg_response_time:
8878+
format: int32
8879+
type: integer
8880+
x-stream-index: "001.018"
88698881
banned:
88708882
type: boolean
88718883
x-stream-index: "001.012"
@@ -13184,7 +13196,6 @@ components:
1318413196
required:
1318513197
- total_unread_count
1318613198
- total_unread_threads_count
13187-
- total_unread_count_by_team
1318813199
- channels
1318913200
- channel_type
1319013201
- threads
@@ -13365,6 +13376,9 @@ components:
1336513376
sqs_url:
1336613377
type: string
1336713378
x-stream-index: "001.023"
13379+
user_response_time_enabled:
13380+
type: boolean
13381+
x-stream-index: "001.048"
1336813382
user_search_disallowed_roles:
1336913383
items:
1337013384
type: string
@@ -14007,17 +14021,12 @@ components:
1400714021
UpdateLiveLocationRequest:
1400814022
nullable: true
1400914023
properties:
14010-
created_by_device_id:
14011-
description: Device ID that created the live location
14012-
title: string
14013-
type: string
14014-
x-stream-index: "004"
1401514024
end_at:
1401614025
description: Time when the live location expires
1401714026
format: date-time
1401814027
title: string
1401914028
type: string
14020-
x-stream-index: "005"
14029+
x-stream-index: "004"
1402114030
latitude:
1402214031
description: Latitude coordinate
1402314032
format: float
@@ -14041,7 +14050,6 @@ components:
1404114050
x-stream-index: "001"
1404214051
required:
1404314052
- message_id
14044-
- created_by_device_id
1404514053
type: object
1404614054
UpdateMemberPartialRequest:
1404714055
nullable: true
@@ -14572,6 +14580,11 @@ components:
1457214580
type: object
1457314581
User:
1457414582
properties:
14583+
avg_response_time:
14584+
format: int32
14585+
readOnly: true
14586+
type: integer
14587+
x-stream-index: "046"
1457514588
ban_expires:
1457614589
format: date-time
1457714590
type: string
@@ -14979,6 +14992,10 @@ components:
1497914992
UserResponse:
1498014993
description: User response object
1498114994
properties:
14995+
avg_response_time:
14996+
format: int32
14997+
type: integer
14998+
x-stream-index: "001.018"
1498214999
ban_expires:
1498315000
description: Date when ban expires
1498415001
format: date-time
@@ -15120,6 +15137,10 @@ components:
1512015137
type: object
1512115138
UserResponseCommonFields:
1512215139
properties:
15140+
avg_response_time:
15141+
format: int32
15142+
type: integer
15143+
x-stream-index: "018"
1512315144
banned:
1512415145
type: boolean
1512515146
x-stream-index: "012"
@@ -15198,6 +15219,10 @@ components:
1519815219
type: object
1519915220
UserResponsePrivacyFields:
1520015221
properties:
15222+
avg_response_time:
15223+
format: int32
15224+
type: integer
15225+
x-stream-index: "001.018"
1520115226
banned:
1520215227
type: boolean
1520315228
x-stream-index: "001.012"
@@ -15702,7 +15727,6 @@ components:
1570215727
required:
1570315728
- total_unread_count
1570415729
- total_unread_threads_count
15705-
- total_unread_count_by_team
1570615730
- channels
1570715731
- channel_type
1570815732
- threads
@@ -15777,7 +15801,7 @@ components:
1577715801
type: apiKey
1577815802
info:
1577915803
title: Stream API
15780-
version: v186.5.0
15804+
version: v186.10.0
1578115805
openapi: 3.0.3
1578215806
paths:
1578315807
/app:
@@ -21881,7 +21905,7 @@ paths:
2188121905
schema:
2188221906
type: string
2188321907
writeOnly: true
21884-
x-stream-index: "006.001"
21908+
x-stream-index: "005.001"
2188521909
requestBody:
2188621910
content:
2188721911
application/json:

openapi/clientside-api.json

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

0 commit comments

Comments
 (0)