Skip to content

Commit

Permalink
Update video openapi Spec
Browse files Browse the repository at this point in the history
  • Loading branch information
stream-ci-zz committed Feb 15, 2024
1 parent 0e58036 commit a664d2b
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 279 deletions.
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

59 changes: 1 addition & 58 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3721,10 +3721,6 @@ 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 @@ -3906,46 +3902,6 @@ 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 @@ -4304,15 +4260,6 @@ 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 @@ -6265,10 +6212,6 @@ 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 @@ -8565,7 +8508,7 @@ components:
type: apiKey
info:
title: Stream API
version: v98.2.0
version: v98.1.1-remove-last_message_at.1
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: 17 additions & 77 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5039,10 +5039,6 @@ 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 @@ -5224,46 +5220,6 @@ 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 @@ -5536,15 +5492,6 @@ 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 @@ -7318,10 +7265,6 @@ 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 @@ -9544,16 +9487,16 @@ components:
Custom:
type: object
writeOnly: true
x-stream-index: "022"
x-stream-index: "021"
automoderation:
type: boolean
x-stream-index: "018"
x-stream-index: "017"
automoderation_scores:
$ref: '#/components/schemas/ModerationResponse'
x-stream-index: "019"
x-stream-index: "018"
channel:
$ref: '#/components/schemas/ChannelResponse'
x-stream-index: "009"
x-stream-index: "008"
channel_id:
type: string
x-stream-index: "004"
Expand All @@ -9569,50 +9512,47 @@ components:
created_at:
format: date-time
type: string
x-stream-index: "023"
x-stream-index: "022"
created_by:
$ref: '#/components/schemas/UserObject'
x-stream-index: "017"
x-stream-index: "016"
me:
$ref: '#/components/schemas/OwnUser'
x-stream-index: "014"
x-stream-index: "013"
member:
$ref: '#/components/schemas/ChannelMember'
x-stream-index: "011"
x-stream-index: "010"
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: "020"
x-stream-index: "019"
reaction:
$ref: '#/components/schemas/Reaction'
x-stream-index: "008"
x-stream-index: "007"
reason:
type: string
x-stream-index: "016"
x-stream-index: "015"
team:
type: string
x-stream-index: "021"
x-stream-index: "020"
thread:
$ref: '#/components/schemas/Thread'
x-stream-index: "010"
x-stream-index: "009"
type:
type: string
x-stream-index: "001"
user:
$ref: '#/components/schemas/UserObject'
x-stream-index: "012"
x-stream-index: "011"
user_id:
type: string
x-stream-index: "013"
x-stream-index: "012"
watcher_count:
format: int32
type: integer
x-stream-index: "015"
x-stream-index: "014"
required:
- type
- Custom
Expand Down Expand Up @@ -9691,7 +9631,7 @@ components:
type: apiKey
info:
title: Stream API
version: v98.2.0
version: v98.1.1-remove-last_message_at.1
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.

61 changes: 2 additions & 59 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5511,10 +5511,6 @@ 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 @@ -5696,46 +5692,6 @@ 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 @@ -5912,7 +5868,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: notification.thread_message_new
default: message.new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -6094,15 +6050,6 @@ 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 @@ -8497,10 +8444,6 @@ 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 @@ -11275,7 +11218,7 @@ components:
type: apiKey
info:
title: Stream API
version: v98.2.0
version: v98.1.1-remove-last_message_at.1
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 a664d2b

Please sign in to comment.