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 Jun 6, 2024
1 parent 00c97db commit 089b154
Show file tree
Hide file tree
Showing 14 changed files with 107 additions and 107 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docusaurus/video/docusaurus/docs/api/video-openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

33 changes: 9 additions & 24 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocked_users:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
Expand All @@ -379,7 +379,7 @@ components:
x-stream-index: "001.001"
required:
- duration
- blocked_users
- blocks
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -8022,35 +8022,20 @@ components:
UserBlock:
nullable: true
properties:
AppPK:
format: int32
type: integer
writeOnly: true
x-stream-index: "003"
BlockedByUser:
$ref: '#/components/schemas/UserObject'
x-stream-index: "004"
BlockedByUserID:
blocked_by_user_id:
type: string
writeOnly: true
x-stream-index: "005"
BlockedUser:
$ref: '#/components/schemas/UserObject'
x-stream-index: "006"
BlockedUserID:
blocked_user_id:
type: string
writeOnly: true
x-stream-index: "007"
CreatedAt:
created_at:
format: date-time
type: string
writeOnly: true
x-stream-index: "008"
required:
- AppPK
- BlockedByUserID
- BlockedUserID
- CreatedAt
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserDeactivatedEvent:
properties:
Expand Down Expand Up @@ -8785,7 +8770,7 @@ components:
type: apiKey
info:
title: Stream API
version: v116.0.2
version: v116.2.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.

53 changes: 29 additions & 24 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocked_users:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
Expand All @@ -717,7 +717,7 @@ components:
x-stream-index: "001.001"
required:
- duration
- blocked_users
- blocks
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -1926,8 +1926,12 @@ components:
title: Duration
type: string
x-stream-index: "001.001"
file_url:
type: string
x-stream-index: "002"
required:
- duration
- file_url
type: object
CheckPushRequest:
nullable: true
Expand Down Expand Up @@ -2676,6 +2680,10 @@ components:
type: string
x-stream-index: "003.003"
storage_type:
enum:
- s3
- gcs
- abs
type: string
x-stream-index: "003.001"
required:
Expand Down Expand Up @@ -3432,6 +3440,10 @@ components:
type: string
x-stream-index: "004"
type:
enum:
- s3
- gcs
- abs
type: string
x-stream-index: "002"
required:
Expand Down Expand Up @@ -9945,6 +9957,10 @@ components:
type: string
x-stream-index: "003.003"
storage_type:
enum:
- s3
- gcs
- abs
type: string
x-stream-index: "003.001"
required:
Expand All @@ -9969,6 +9985,10 @@ components:
type: string
x-stream-index: "001.004"
type:
enum:
- s3
- gcs
- abs
type: string
x-stream-index: "001.002"
required:
Expand Down Expand Up @@ -10296,35 +10316,20 @@ components:
UserBlock:
nullable: true
properties:
AppPK:
format: int32
type: integer
writeOnly: true
x-stream-index: "003"
BlockedByUser:
$ref: '#/components/schemas/UserObject'
x-stream-index: "004"
BlockedByUserID:
blocked_by_user_id:
type: string
writeOnly: true
x-stream-index: "005"
BlockedUser:
$ref: '#/components/schemas/UserObject'
x-stream-index: "006"
BlockedUserID:
blocked_user_id:
type: string
writeOnly: true
x-stream-index: "007"
CreatedAt:
created_at:
format: date-time
type: string
writeOnly: true
x-stream-index: "008"
required:
- AppPK
- BlockedByUserID
- BlockedUserID
- CreatedAt
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserCustomEventRequest:
properties:
Expand Down Expand Up @@ -10849,7 +10854,7 @@ components:
type: apiKey
info:
title: Stream API
version: v116.0.2
version: v116.2.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.

35 changes: 10 additions & 25 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocked_users:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
Expand All @@ -481,7 +481,7 @@ components:
x-stream-index: "001.001"
required:
- duration
- blocked_users
- blocks
type: object
BlockedUserEvent:
description: "This event is sent to call participants to notify when a user
Expand Down Expand Up @@ -6139,7 +6139,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 @@ -11702,35 +11702,20 @@ components:
UserBlock:
nullable: true
properties:
AppPK:
format: int32
type: integer
writeOnly: true
x-stream-index: "003"
BlockedByUser:
$ref: '#/components/schemas/UserObject'
x-stream-index: "004"
BlockedByUserID:
blocked_by_user_id:
type: string
writeOnly: true
x-stream-index: "005"
BlockedUser:
$ref: '#/components/schemas/UserObject'
x-stream-index: "006"
BlockedUserID:
blocked_user_id:
type: string
writeOnly: true
x-stream-index: "007"
CreatedAt:
created_at:
format: date-time
type: number
writeOnly: true
x-stream-index: "008"
required:
- AppPK
- BlockedByUserID
- BlockedUserID
- CreatedAt
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserDeactivatedEvent:
properties:
Expand Down Expand Up @@ -12867,7 +12852,7 @@ components:
type: apiKey
info:
title: Stream API
version: v116.0.2
version: v116.2.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.

53 changes: 29 additions & 24 deletions openapi/serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocked_users:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
Expand All @@ -808,7 +808,7 @@ components:
x-stream-index: "001.001"
required:
- duration
- blocked_users
- blocks
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -2516,8 +2516,12 @@ components:
title: Duration
type: string
x-stream-index: "001.001"
file_url:
type: string
x-stream-index: "002"
required:
- duration
- file_url
type: object
CheckPushRequest:
nullable: true
Expand Down Expand Up @@ -3342,6 +3346,10 @@ components:
type: string
x-stream-index: "003.003"
storage_type:
enum:
- s3
- gcs
- abs
type: string
x-stream-index: "003.001"
required:
Expand Down Expand Up @@ -4218,6 +4226,10 @@ components:
type: string
x-stream-index: "004"
type:
enum:
- s3
- gcs
- abs
type: string
x-stream-index: "002"
required:
Expand Down Expand Up @@ -12131,6 +12143,10 @@ components:
type: string
x-stream-index: "003.003"
storage_type:
enum:
- s3
- gcs
- abs
type: string
x-stream-index: "003.001"
required:
Expand All @@ -12155,6 +12171,10 @@ components:
type: string
x-stream-index: "001.004"
type:
enum:
- s3
- gcs
- abs
type: string
x-stream-index: "001.002"
required:
Expand Down Expand Up @@ -12512,35 +12532,20 @@ components:
UserBlock:
nullable: true
properties:
AppPK:
format: int32
type: integer
writeOnly: true
x-stream-index: "003"
BlockedByUser:
$ref: '#/components/schemas/UserObject'
x-stream-index: "004"
BlockedByUserID:
blocked_by_user_id:
type: string
writeOnly: true
x-stream-index: "005"
BlockedUser:
$ref: '#/components/schemas/UserObject'
x-stream-index: "006"
BlockedUserID:
blocked_user_id:
type: string
writeOnly: true
x-stream-index: "007"
CreatedAt:
created_at:
format: date-time
type: number
writeOnly: true
x-stream-index: "008"
required:
- AppPK
- BlockedByUserID
- BlockedUserID
- CreatedAt
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserCustomEventRequest:
properties:
Expand Down Expand Up @@ -13373,7 +13378,7 @@ components:
type: apiKey
info:
title: Stream API
version: v116.0.2
version: v116.2.1
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.json

Large diffs are not rendered by default.

Loading

0 comments on commit 089b154

Please sign in to comment.