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 11, 2024
1 parent 558d15a commit 006b3bc
Show file tree
Hide file tree
Showing 14 changed files with 67 additions and 111 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.

39 changes: 14 additions & 25 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,19 +367,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
x-stream-index: "002"
blocked_by_user_id:
type: string
x-stream-index: "002.005"
blocked_user_id:
type: string
x-stream-index: "002.007"
created_at:
format: date-time
type: string
x-stream-index: "002.008"
duration:
description: Duration of the request in human-readable format
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
- blocks
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -8025,24 +8032,6 @@ components:
x-stream-event-client-type: true
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
UserBlock:
nullable: true
properties:
blocked_by_user_id:
type: string
x-stream-index: "005"
blocked_user_id:
type: string
x-stream-index: "007"
created_at:
format: date-time
type: string
x-stream-index: "008"
required:
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserDeactivatedEvent:
properties:
created_at:
Expand Down Expand Up @@ -8782,7 +8771,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.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.

39 changes: 14 additions & 25 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -705,19 +705,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
x-stream-index: "002"
blocked_by_user_id:
type: string
x-stream-index: "002.005"
blocked_user_id:
type: string
x-stream-index: "002.007"
created_at:
format: date-time
type: string
x-stream-index: "002.008"
duration:
description: Duration of the request in human-readable format
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
- blocks
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -10319,24 +10326,6 @@ components:
- push_provider
- duration
type: object
UserBlock:
nullable: true
properties:
blocked_by_user_id:
type: string
x-stream-index: "005"
blocked_user_id:
type: string
x-stream-index: "007"
created_at:
format: date-time
type: string
x-stream-index: "008"
required:
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserCustomEventRequest:
properties:
custom:
Expand Down Expand Up @@ -10866,7 +10855,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.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.

41 changes: 15 additions & 26 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -469,19 +469,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
x-stream-index: "002"
blocked_by_user_id:
type: string
x-stream-index: "002.005"
blocked_user_id:
type: string
x-stream-index: "002.007"
created_at:
format: date-time
type: number
x-stream-index: "002.008"
duration:
description: Duration of the request in human-readable format
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
- blocks
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
BlockedUserEvent:
description: "This event is sent to call participants to notify when a user
Expand Down Expand Up @@ -6149,7 +6156,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 @@ -11714,24 +11721,6 @@ components:
x-stream-event-client-type: true
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
UserBlock:
nullable: true
properties:
blocked_by_user_id:
type: string
x-stream-index: "005"
blocked_user_id:
type: string
x-stream-index: "007"
created_at:
format: date-time
type: number
x-stream-index: "008"
required:
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserDeactivatedEvent:
properties:
created_at:
Expand Down Expand Up @@ -12873,7 +12862,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.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.

39 changes: 14 additions & 25 deletions openapi/serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -796,19 +796,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
x-stream-index: "002"
blocked_by_user_id:
type: string
x-stream-index: "002.005"
blocked_user_id:
type: string
x-stream-index: "002.007"
created_at:
format: date-time
type: number
x-stream-index: "002.008"
duration:
description: Duration of the request in human-readable format
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
- blocks
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -12535,24 +12542,6 @@ components:
- push_provider
- duration
type: object
UserBlock:
nullable: true
properties:
blocked_by_user_id:
type: string
x-stream-index: "005"
blocked_user_id:
type: string
x-stream-index: "007"
created_at:
format: date-time
type: number
x-stream-index: "008"
required:
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserCustomEventRequest:
properties:
custom:
Expand Down Expand Up @@ -13390,7 +13379,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.2.0
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 @@ -5766,7 +5766,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.2.0
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 @@ -3377,7 +3377,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.2.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down

0 comments on commit 006b3bc

Please sign in to comment.