Skip to content

Commit

Permalink
Update video openapi Spec (#436)
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 Feb 15, 2024
1 parent be8896a commit 0e58036
Show file tree
Hide file tree
Showing 12 changed files with 279 additions and 45 deletions.
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

61 changes: 59 additions & 2 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3721,6 +3721,10 @@ components:
title: Mentioned Users
type: array
x-stream-index: "040"
message_text_updated_at:
format: date-time
type: string
x-stream-index: "049"
mml:
description: Should be empty if `text` is provided. Can only be set when
using server-side API
Expand Down Expand Up @@ -3902,6 +3906,46 @@ components:
required:
- form_data
type: object
MessageChangeSet:
properties:
attachments:
type: boolean
x-stream-index: "005"
custom:
type: boolean
x-stream-index: "001"
html:
type: boolean
x-stream-index: "004"
mentioned_user_i_ds:
type: boolean
x-stream-index: "006"
mml:
type: boolean
x-stream-index: "003"
pin:
type: boolean
x-stream-index: "009"
quoted_message_id:
type: boolean
x-stream-index: "007"
silent:
type: boolean
x-stream-index: "008"
text:
type: boolean
x-stream-index: "002"
required:
- custom
- text
- mml
- html
- attachments
- mentioned_user_i_ds
- quoted_message_id
- silent
- pin
type: object
MessageDeletedEvent:
properties:
channel_id:
Expand Down Expand Up @@ -4078,7 +4122,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: message.new
default: notification.thread_message_new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -4260,6 +4304,15 @@ components:
required:
- duration
type: object
MessageUpdate:
properties:
change_set:
$ref: '#/components/schemas/MessageChangeSet'
x-stream-index: "002"
old_text:
type: string
x-stream-index: "001"
type: object
MessageUpdatedEvent:
properties:
channel_id:
Expand Down Expand Up @@ -6212,6 +6265,10 @@ components:
$ref: '#/components/schemas/UserObject'
type: array
x-stream-index: "001.040"
message_text_updated_at:
format: date-time
type: string
x-stream-index: "001.049"
mml:
type: string
x-stream-index: "001.005"
Expand Down Expand Up @@ -8508,7 +8565,7 @@ components:
type: apiKey
info:
title: Stream API
version: v98.1.1
version: v98.2.0
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

94 changes: 77 additions & 17 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5039,6 +5039,10 @@ components:
title: Mentioned Users
type: array
x-stream-index: "040"
message_text_updated_at:
format: date-time
type: string
x-stream-index: "049"
mml:
description: Should be empty if `text` is provided. Can only be set when
using server-side API
Expand Down Expand Up @@ -5220,6 +5224,46 @@ components:
required:
- form_data
type: object
MessageChangeSet:
properties:
attachments:
type: boolean
x-stream-index: "005"
custom:
type: boolean
x-stream-index: "001"
html:
type: boolean
x-stream-index: "004"
mentioned_user_i_ds:
type: boolean
x-stream-index: "006"
mml:
type: boolean
x-stream-index: "003"
pin:
type: boolean
x-stream-index: "009"
quoted_message_id:
type: boolean
x-stream-index: "007"
silent:
type: boolean
x-stream-index: "008"
text:
type: boolean
x-stream-index: "002"
required:
- custom
- text
- mml
- html
- attachments
- mentioned_user_i_ds
- quoted_message_id
- silent
- pin
type: object
MessageFlag:
nullable: true
properties:
Expand Down Expand Up @@ -5492,6 +5536,15 @@ components:
required:
- duration
type: object
MessageUpdate:
properties:
change_set:
$ref: '#/components/schemas/MessageChangeSet'
x-stream-index: "002"
old_text:
type: string
x-stream-index: "001"
type: object
MessageWithPendingMetadataResponse:
nullable: true
properties:
Expand Down Expand Up @@ -7265,6 +7318,10 @@ components:
$ref: '#/components/schemas/UserObject'
type: array
x-stream-index: "001.040"
message_text_updated_at:
format: date-time
type: string
x-stream-index: "001.049"
mml:
type: string
x-stream-index: "001.005"
Expand Down Expand Up @@ -9487,16 +9544,16 @@ components:
Custom:
type: object
writeOnly: true
x-stream-index: "021"
x-stream-index: "022"
automoderation:
type: boolean
x-stream-index: "017"
x-stream-index: "018"
automoderation_scores:
$ref: '#/components/schemas/ModerationResponse'
x-stream-index: "018"
x-stream-index: "019"
channel:
$ref: '#/components/schemas/ChannelResponse'
x-stream-index: "008"
x-stream-index: "009"
channel_id:
type: string
x-stream-index: "004"
Expand All @@ -9512,47 +9569,50 @@ components:
created_at:
format: date-time
type: string
x-stream-index: "022"
x-stream-index: "023"
created_by:
$ref: '#/components/schemas/UserObject'
x-stream-index: "016"
x-stream-index: "017"
me:
$ref: '#/components/schemas/OwnUser'
x-stream-index: "013"
x-stream-index: "014"
member:
$ref: '#/components/schemas/ChannelMember'
x-stream-index: "010"
x-stream-index: "011"
message:
$ref: '#/components/schemas/Message'
x-stream-index: "006"
message_update:
$ref: '#/components/schemas/MessageUpdate'
x-stream-index: "007"
parent_id:
type: string
x-stream-index: "019"
x-stream-index: "020"
reaction:
$ref: '#/components/schemas/Reaction'
x-stream-index: "007"
x-stream-index: "008"
reason:
type: string
x-stream-index: "015"
x-stream-index: "016"
team:
type: string
x-stream-index: "020"
x-stream-index: "021"
thread:
$ref: '#/components/schemas/Thread'
x-stream-index: "009"
x-stream-index: "010"
type:
type: string
x-stream-index: "001"
user:
$ref: '#/components/schemas/UserObject'
x-stream-index: "011"
x-stream-index: "012"
user_id:
type: string
x-stream-index: "012"
x-stream-index: "013"
watcher_count:
format: int32
type: integer
x-stream-index: "014"
x-stream-index: "015"
required:
- type
- Custom
Expand Down Expand Up @@ -9631,7 +9691,7 @@ components:
type: apiKey
info:
title: Stream API
version: v98.1.1
version: v98.2.0
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

59 changes: 58 additions & 1 deletion openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5511,6 +5511,10 @@ components:
title: Mentioned Users
type: array
x-stream-index: "040"
message_text_updated_at:
format: date-time
type: string
x-stream-index: "049"
mml:
description: Should be empty if `text` is provided. Can only be set when
using server-side API
Expand Down Expand Up @@ -5692,6 +5696,46 @@ components:
required:
- form_data
type: object
MessageChangeSet:
properties:
attachments:
type: boolean
x-stream-index: "005"
custom:
type: boolean
x-stream-index: "001"
html:
type: boolean
x-stream-index: "004"
mentioned_user_i_ds:
type: boolean
x-stream-index: "006"
mml:
type: boolean
x-stream-index: "003"
pin:
type: boolean
x-stream-index: "009"
quoted_message_id:
type: boolean
x-stream-index: "007"
silent:
type: boolean
x-stream-index: "008"
text:
type: boolean
x-stream-index: "002"
required:
- custom
- text
- mml
- html
- attachments
- mentioned_user_i_ds
- quoted_message_id
- silent
- pin
type: object
MessageDeletedEvent:
properties:
channel_id:
Expand Down Expand Up @@ -6050,6 +6094,15 @@ components:
required:
- duration
type: object
MessageUpdate:
properties:
change_set:
$ref: '#/components/schemas/MessageChangeSet'
x-stream-index: "002"
old_text:
type: string
x-stream-index: "001"
type: object
MessageUpdatedEvent:
properties:
channel_id:
Expand Down Expand Up @@ -8444,6 +8497,10 @@ components:
$ref: '#/components/schemas/UserObject'
type: array
x-stream-index: "001.040"
message_text_updated_at:
format: date-time
type: string
x-stream-index: "001.049"
mml:
type: string
x-stream-index: "001.005"
Expand Down Expand Up @@ -11218,7 +11275,7 @@ components:
type: apiKey
info:
title: Stream API
version: v98.1.1
version: v98.2.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

Loading

0 comments on commit 0e58036

Please sign in to comment.