Skip to content

Commit

Permalink
Update video openapi Spec (#711)
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 Aug 20, 2024
1 parent e9af53f commit 8ed5d28
Show file tree
Hide file tree
Showing 14 changed files with 235 additions and 81 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.

16 changes: 15 additions & 1 deletion openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,13 @@ components:
name:
type: string
x-stream-index: "001.001"
partition_size:
format: int32
type: integer
x-stream-index: "001.026"
partition_ttl:
type: integer
x-stream-index: "001.027"
polls:
type: boolean
x-stream-index: "001.016"
Expand Down Expand Up @@ -1048,6 +1055,13 @@ components:
name:
type: string
x-stream-index: 001.002.001
partition_size:
format: int32
type: integer
x-stream-index: 001.002.026
partition_ttl:
type: integer
x-stream-index: 001.002.027
polls:
type: boolean
x-stream-index: 001.002.016
Expand Down Expand Up @@ -10466,7 +10480,7 @@ components:
type: apiKey
info:
title: Stream API
version: v128.5.1
version: v129.0.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.

114 changes: 89 additions & 25 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,13 @@ components:
name:
type: string
x-stream-index: "001.001"
partition_size:
format: int32
type: integer
x-stream-index: "001.026"
partition_ttl:
type: integer
x-stream-index: "001.027"
polls:
type: boolean
x-stream-index: "001.016"
Expand Down Expand Up @@ -1209,6 +1216,13 @@ components:
name:
type: string
x-stream-index: 001.002.001
partition_size:
format: int32
type: integer
x-stream-index: 001.002.026
partition_ttl:
type: integer
x-stream-index: 001.002.027
polls:
type: boolean
x-stream-index: 001.002.016
Expand Down Expand Up @@ -1973,6 +1987,13 @@ components:
name:
type: string
x-stream-index: 003.002.001
partition_size:
format: int32
type: integer
x-stream-index: 003.002.026
partition_ttl:
type: integer
x-stream-index: 003.002.027
permissions:
items:
$ref: '#/components/schemas/PolicyRequest'
Expand Down Expand Up @@ -2495,6 +2516,17 @@ components:
title: Name
type: string
x-stream-index: "001"
partition_size:
format: int32
minimum: 10
type: integer
x-stream-index: "025"
partition_ttl:
example: 24h
format: duration
nullable: true
type: string
x-stream-index: "026"
permissions:
description: List of permissions for the channel type
items:
Expand Down Expand Up @@ -2632,6 +2664,13 @@ components:
name:
type: string
x-stream-index: 001.001.001
partition_size:
format: int32
type: integer
x-stream-index: 001.001.026
partition_ttl:
type: integer
x-stream-index: 001.001.027
permissions:
items:
$ref: '#/components/schemas/PolicyRequest'
Expand Down Expand Up @@ -4237,6 +4276,13 @@ components:
name:
type: string
x-stream-index: 003.002.001
partition_size:
format: int32
type: integer
x-stream-index: 003.002.026
partition_ttl:
type: integer
x-stream-index: 003.002.027
permissions:
items:
$ref: '#/components/schemas/PolicyRequest'
Expand Down Expand Up @@ -10179,52 +10225,52 @@ components:
items:
type: string
type: array
x-stream-index: 007.001.024
x-stream-index: 009.001.024
automod:
enum:
- disabled
- simple
- AI
type: string
x-stream-index: 007.001.019
x-stream-index: 009.001.019
automod_behavior:
enum:
- flag
- block
- shadow_block
type: string
x-stream-index: 007.001.020
x-stream-index: 009.001.020
automod_thresholds:
$ref: '#/components/schemas/Thresholds'
x-stream-index: 007.001.025
x-stream-index: 009.001.025
blocklist:
type: string
x-stream-index: 007.001.021
x-stream-index: 009.001.021
blocklist_behavior:
enum:
- flag
- block
- shadow_block
type: string
x-stream-index: 007.001.022
x-stream-index: 009.001.022
blocklists:
items:
$ref: '#/components/schemas/BlockListOptions'
type: array
x-stream-index: 007.001.023
x-stream-index: 009.001.023
commands:
description: List of commands that channel supports
items:
type: string
title: Commands
type: array
x-stream-index: "007.003"
x-stream-index: "009.003"
connect_events:
type: boolean
x-stream-index: 007.001.004
x-stream-index: 009.001.004
custom_events:
type: boolean
x-stream-index: 007.001.012
x-stream-index: 009.001.012
grants:
additionalProperties:
items:
Expand All @@ -10234,53 +10280,64 @@ components:
x-stream-index: "004"
mark_messages_pending:
type: boolean
x-stream-index: 007.001.015
x-stream-index: 009.001.015
max_message_length:
format: int32
maximum: 20000
type: integer
x-stream-index: 007.001.018
x-stream-index: 009.001.018
mutes:
type: boolean
x-stream-index: 007.001.009
x-stream-index: 009.001.009
partition_size:
format: int32
minimum: 0
type: integer
x-stream-index: "007"
partition_ttl:
example: 24h
format: duration
nullable: true
type: string
x-stream-index: "008"
permissions:
items:
$ref: '#/components/schemas/PolicyRequest'
type: array
x-stream-index: "003"
polls:
type: boolean
x-stream-index: 007.001.016
x-stream-index: 009.001.016
push_notifications:
type: boolean
x-stream-index: 007.001.013
x-stream-index: 009.001.013
quotes:
type: boolean
x-stream-index: 007.001.008
x-stream-index: 009.001.008
reactions:
type: boolean
x-stream-index: 007.001.006
x-stream-index: 009.001.006
read_events:
type: boolean
x-stream-index: 007.001.003
x-stream-index: 009.001.003
reminders:
type: boolean
x-stream-index: 007.001.014
x-stream-index: 009.001.014
replies:
type: boolean
x-stream-index: 007.001.007
x-stream-index: 009.001.007
search:
type: boolean
x-stream-index: 007.001.005
x-stream-index: 009.001.005
typing_events:
type: boolean
x-stream-index: 007.001.002
x-stream-index: 009.001.002
uploads:
type: boolean
x-stream-index: 007.001.010
x-stream-index: 009.001.010
url_enrichment:
type: boolean
x-stream-index: 007.001.011
x-stream-index: 009.001.011
required:
- max_message_length
- automod
Expand Down Expand Up @@ -10365,6 +10422,13 @@ components:
name:
type: string
x-stream-index: 003.001.001
partition_size:
format: int32
type: integer
x-stream-index: 003.001.026
partition_ttl:
type: integer
x-stream-index: 003.001.027
permissions:
items:
$ref: '#/components/schemas/PolicyRequest'
Expand Down Expand Up @@ -11491,7 +11555,7 @@ components:
type: apiKey
info:
title: Stream API
version: v128.5.1
version: v129.0.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.

18 changes: 16 additions & 2 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2718,6 +2718,13 @@ components:
name:
type: string
x-stream-index: "001.001"
partition_size:
format: int32
type: integer
x-stream-index: "001.026"
partition_ttl:
type: integer
x-stream-index: "001.027"
polls:
type: boolean
x-stream-index: "001.016"
Expand Down Expand Up @@ -2860,6 +2867,13 @@ components:
name:
type: string
x-stream-index: 001.002.001
partition_size:
format: int32
type: integer
x-stream-index: 001.002.026
partition_ttl:
type: integer
x-stream-index: 001.002.027
polls:
type: boolean
x-stream-index: 001.002.016
Expand Down Expand Up @@ -7088,7 +7102,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 @@ -14966,7 +14980,7 @@ components:
type: apiKey
info:
title: Stream API
version: v128.5.1
version: v129.0.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 8ed5d28

Please sign in to comment.