Skip to content

Commit

Permalink
Update video openapi Spec (#544)
Browse files Browse the repository at this point in the history
Co-authored-by: GH Action CI Stream <[email protected]>
  • Loading branch information
stream-ci-bot and stream-ci-zz authored Apr 30, 2024
1 parent 3d49514 commit fc8cc05
Show file tree
Hide file tree
Showing 12 changed files with 435 additions and 183 deletions.
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

115 changes: 81 additions & 34 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2641,7 +2641,7 @@ components:
items:
$ref: '#/components/schemas/ChannelMute'
type: array
x-stream-index: "006"
x-stream-index: "007"
created_at:
format: date-time
type: string
Expand All @@ -2662,7 +2662,7 @@ components:
items:
$ref: '#/components/schemas/Device'
type: array
x-stream-index: "003"
x-stream-index: "004"
id:
type: string
x-stream-index: "001.001"
Expand All @@ -2671,7 +2671,7 @@ components:
x-stream-index: "001.003"
invisible:
type: boolean
x-stream-index: "004"
x-stream-index: "005"
language:
type: string
x-stream-index: "001.005"
Expand All @@ -2683,18 +2683,21 @@ components:
items:
type: string
type: array
x-stream-index: "010"
x-stream-index: "011"
mutes:
items:
$ref: '#/components/schemas/UserMute'
type: array
x-stream-index: "005"
x-stream-index: "006"
name:
type: string
x-stream-index: "001.002"
online:
type: boolean
x-stream-index: "001.012"
privacy_settings:
$ref: '#/components/schemas/PrivacySettings'
x-stream-index: "003"
push_notifications:
$ref: '#/components/schemas/PushNotificationSettings'
x-stream-index: "002"
Expand All @@ -2707,7 +2710,7 @@ components:
x-stream-index: "001.006"
shadow_banned:
type: boolean
x-stream-index: "011"
x-stream-index: "012"
teams:
items:
type: string
Expand All @@ -2716,15 +2719,15 @@ components:
total_unread_count:
format: int32
type: integer
x-stream-index: "007"
x-stream-index: "008"
unread_channels:
format: int32
type: integer
x-stream-index: "008"
x-stream-index: "009"
unread_threads:
format: int32
type: integer
x-stream-index: "009"
x-stream-index: "010"
updated_at:
format: date-time
type: string
Expand Down Expand Up @@ -5286,7 +5289,7 @@ components:
items:
$ref: '#/components/schemas/ChannelMute'
type: array
x-stream-index: "026"
x-stream-index: "027"
created_at:
format: date-time
type: string
Expand All @@ -5307,7 +5310,7 @@ components:
items:
$ref: '#/components/schemas/Device'
type: array
x-stream-index: "024"
x-stream-index: "025"
id:
type: string
x-stream-index: "003"
Expand All @@ -5316,7 +5319,7 @@ components:
x-stream-index: "021"
language:
type: string
x-stream-index: "031"
x-stream-index: "032"
last_active:
format: date-time
type: string
Expand All @@ -5325,15 +5328,18 @@ components:
items:
type: string
type: array
x-stream-index: "033"
x-stream-index: "034"
mutes:
items:
$ref: '#/components/schemas/UserMute'
type: array
x-stream-index: "025"
x-stream-index: "026"
online:
type: boolean
x-stream-index: "020"
privacy_settings:
$ref: '#/components/schemas/PrivacySettings'
x-stream-index: "024"
push_notifications:
$ref: '#/components/schemas/PushNotificationSettings'
x-stream-index: "023"
Expand All @@ -5344,23 +5350,23 @@ components:
items:
type: string
type: array
x-stream-index: "032"
x-stream-index: "033"
total_unread_count:
format: int32
type: integer
x-stream-index: "028"
x-stream-index: "029"
unread_channels:
format: int32
type: integer
x-stream-index: "029"
x-stream-index: "030"
unread_count:
format: int32
type: integer
x-stream-index: "027"
x-stream-index: "028"
unread_threads:
format: int32
type: integer
x-stream-index: "030"
x-stream-index: "031"
updated_at:
format: date-time
type: string
Expand Down Expand Up @@ -6019,6 +6025,15 @@ components:
- votes
- duration
type: object
PrivacySettings:
properties:
read_receipts:
$ref: '#/components/schemas/ReadReceipts'
x-stream-index: "002"
typing_indicators:
$ref: '#/components/schemas/TypingIndicators'
x-stream-index: "001"
type: object
PushNotificationFields:
properties:
apn:
Expand Down Expand Up @@ -7007,6 +7022,14 @@ components:
- last_read
- unread_messages
type: object
ReadReceipts:
properties:
enabled:
type: boolean
x-stream-index: "001"
required:
- enabled
type: object
ReadStateResponse:
properties:
last_read:
Expand Down Expand Up @@ -8172,6 +8195,14 @@ components:
required:
- duration
type: object
TypingIndicators:
properties:
enabled:
type: boolean
x-stream-index: "001"
required:
- enabled
type: object
TypingStartEvent:
properties:
channel_id:
Expand Down Expand Up @@ -8989,7 +9020,7 @@ components:
description: Preferred language of a user
title: Language
type: string
x-stream-index: "031"
x-stream-index: "032"
last_active:
description: Date of last activity
format: date-time
Expand All @@ -9003,6 +9034,9 @@ components:
title: Online
type: boolean
x-stream-index: "020"
privacy_settings:
$ref: '#/components/schemas/PrivacySettings'
x-stream-index: "024"
push_notifications:
$ref: '#/components/schemas/PushNotificationSettings'
x-stream-index: "023"
Expand All @@ -9011,7 +9045,7 @@ components:
format: date-time
title: Revoke tokens issued before
type: string
x-stream-index: "038"
x-stream-index: "039"
role:
description: Determines the set of user permissions
title: Role
Expand All @@ -9023,7 +9057,7 @@ components:
type: string
title: Teams
type: array
x-stream-index: "032"
x-stream-index: "033"
updated_at:
description: Date/time of the last update
format: date-time
Expand Down Expand Up @@ -9108,9 +9142,12 @@ components:
title: Name
type: string
x-stream-index: "002"
privacy_settings:
$ref: '#/components/schemas/PrivacySettings'
x-stream-index: "007"
push_notifications:
$ref: '#/components/schemas/PushNotificationSettingsInput'
x-stream-index: "009"
x-stream-index: "010"
required:
- id
type: object
Expand Down Expand Up @@ -9188,6 +9225,7 @@ components:
- online
- shadow_banned
- devices
- invisible
type: object
UserUnbannedEvent:
properties:
Expand Down Expand Up @@ -9584,7 +9622,7 @@ components:
type: apiKey
info:
title: Stream API
version: v111.0.0
version: v112.0.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -11744,61 +11782,70 @@ paths:
type: string
writeOnly: true
x-stream-index: "001"
- in: query
name: sort
schema:
items:
$ref: '#/components/schemas/SortParam'
maximum: 1
type: array
writeOnly: true
x-stream-index: "002"
- in: query
name: id_gte
schema:
type: string
x-stream-index: "002.003"
x-stream-index: "003.003"
- in: query
name: id_gt
schema:
type: string
x-stream-index: "002.004"
x-stream-index: "003.004"
- in: query
name: id_lte
schema:
type: string
x-stream-index: "002.005"
x-stream-index: "003.005"
- in: query
name: id_lt
schema:
type: string
x-stream-index: "002.006"
x-stream-index: "003.006"
- in: query
name: created_at_after_or_equal
schema:
format: date-time
type: string
x-stream-index: "002.007"
x-stream-index: "003.007"
- in: query
name: created_at_after
schema:
format: date-time
type: string
x-stream-index: "002.008"
x-stream-index: "003.008"
- in: query
name: created_at_before_or_equal
schema:
format: date-time
type: string
x-stream-index: "002.009"
x-stream-index: "003.009"
- in: query
name: created_at_before
schema:
format: date-time
type: string
x-stream-index: "002.010"
x-stream-index: "003.010"
- in: query
name: id_around
schema:
type: string
x-stream-index: "002.011"
x-stream-index: "003.011"
- in: query
name: created_at_around
schema:
format: date-time
type: string
x-stream-index: "002.012"
x-stream-index: "003.012"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

Loading

0 comments on commit fc8cc05

Please sign in to comment.