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 4, 2024
1 parent 00c97db commit d1cc1bb
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 106 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.0.4
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.

33 changes: 9 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 @@ -10296,35 +10296,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 +10834,7 @@ components:
type: apiKey
info:
title: Stream API
version: v116.0.2
version: v116.0.4
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.

33 changes: 9 additions & 24 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 @@ -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.0.4
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.

33 changes: 9 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 @@ -12512,35 +12512,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 +13358,7 @@ components:
type: apiKey
info:
title: Stream API
version: v116.0.2
version: v116.0.4
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.

2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5751,7 +5751,7 @@ components:
type: apiKey
info:
title: Stream API
version: v116.0.2
version: v116.0.4
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/video-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3351,7 +3351,7 @@ components:
type: apiKey
info:
title: Stream API
version: v116.0.2
version: v116.0.4
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down

0 comments on commit d1cc1bb

Please sign in to comment.