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 Dec 10, 2024
1 parent 7cef784 commit 027e177
Show file tree
Hide file tree
Showing 14 changed files with 1,833 additions and 272 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.

4 changes: 2 additions & 2 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4665,7 +4665,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 @@ -11003,7 +11003,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v139.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.

52 changes: 51 additions & 1 deletion openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -544,24 +544,34 @@ components:
x-stream-index: "003"
type: object
AzureRequest:
description: Config for creating Azure Blob Storage storage
properties:
abs_account_name:
description: The account name
title: AccountName
type: string
x-stream-index: "001"
abs_client_id:
description: The client id
title: ClientID
type: string
x-stream-index: "003"
abs_client_secret:
description: The client secret
title: ClientSecret
type: string
x-stream-index: "004"
abs_tenant_id:
description: The tenant id
title: TenantID
type: string
x-stream-index: "002"
required:
- abs_account_name
- abs_tenant_id
- abs_client_id
- abs_client_secret
title: AzureRequest
type: object
BackstageSettings:
properties:
Expand Down Expand Up @@ -2981,37 +2991,51 @@ components:
title: CreateDeviceRequest
type: object
CreateExternalStorageRequest:
description: Create external storage
nullable: true
properties:
aws_s3:
$ref: '#/components/schemas/S3Request'
description: Only required if you want to create an Amazon S3 storage
title: AwsS3
x-stream-index: "003.004"
azure_blob:
$ref: '#/components/schemas/AzureRequest'
description: Only required if you want to create an Azure Blob Storage
title: AzureBlob
x-stream-index: "003.006"
bucket:
description: The name of the bucket on the service provider
title: Bucket
type: string
x-stream-index: "003.002"
gcs_credentials:
type: string
x-stream-index: "003.005"
name:
description: The name of the provider, this must be unique
title: Name
type: string
x-stream-index: "001"
path:
description: The path prefix to use for storing files
title: Path
type: string
x-stream-index: "003.003"
storage_type:
description: The type of storage to use
enum:
- s3
- gcs
- abs
title: StorageType
type: string
x-stream-index: "003.001"
required:
- name
- storage_type
- bucket
title: CreateExternalStorageRequest
type: object
CreateExternalStorageResponse:
description: Basic response information
Expand Down Expand Up @@ -9335,18 +9359,30 @@ components:
- updated_at
type: object
S3Request:
description: Config for creating Amazon S3 storage.
properties:
s3_api_key:
description: 'The AWS API key. To use Amazon S3 as your storage provider,
you have two authentication options: IAM role or API key. If you do not
specify the `s3_api_key` parameter, Stream will use IAM role authentication.
In that case make sure to have the correct IAM role configured for your
application.'
title: S3ApiKey
type: string
x-stream-index: "002"
s3_region:
description: The AWS region where the bucket is hosted
title: S3Region
type: string
x-stream-index: "001"
s3_secret:
description: The AWS API Secret
title: S3Secret
type: string
x-stream-index: "003"
required:
- s3_region
title: S3Request
type: object
ScreensharingSettings:
properties:
Expand Down Expand Up @@ -11366,33 +11402,45 @@ components:
title: UpdateCommandResponse
type: object
UpdateExternalStorageRequest:
description: External storage
nullable: true
properties:
aws_s3:
$ref: '#/components/schemas/S3Request'
description: Only required if you want to create an Amazon S3 storage
title: AwsS3
x-stream-index: "003.004"
azure_blob:
$ref: '#/components/schemas/AzureRequest'
description: Only required if you want to create an Azure Blob Storage
title: AzureBlob
x-stream-index: "003.006"
bucket:
description: The name of the bucket on the service provider
title: Bucket
type: string
x-stream-index: "003.002"
gcs_credentials:
type: string
x-stream-index: "003.005"
path:
description: The path prefix to use for storing files
title: Path
type: string
x-stream-index: "003.003"
storage_type:
description: The type of storage to use
enum:
- s3
- gcs
- abs
title: StorageType
type: string
x-stream-index: "003.001"
required:
- storage_type
- bucket
title: ExternalStorageRequest
type: object
UpdateExternalStorageResponse:
description: Basic response information
Expand Down Expand Up @@ -12401,7 +12449,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v139.0.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -14742,6 +14790,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/CreateExternalStorageRequest'
description: CreateExternalStorageRequest
required: true
responses:
"201":
Expand Down Expand Up @@ -14817,6 +14866,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/UpdateExternalStorageRequest'
description: ExternalStorageRequest
required: true
responses:
"201":
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

Loading

0 comments on commit 027e177

Please sign in to comment.