Skip to content

Commit

Permalink
Update video openapi Spec
Browse files Browse the repository at this point in the history
stream-ci-zz committed Dec 11, 2024
1 parent 7cef784 commit a6508de
Showing 14 changed files with 1,871 additions and 241 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.

27 changes: 16 additions & 11 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
@@ -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:
@@ -8081,28 +8081,32 @@ components:
items:
$ref: '#/components/schemas/ActionLog'
type: array
x-stream-index: "028"
x-stream-index: "029"
assigned_to:
$ref: '#/components/schemas/User'
x-stream-index: "025"
x-stream-index: "026"
bans:
items:
$ref: '#/components/schemas/Ban'
type: array
x-stream-index: "026"
x-stream-index: "027"
bounce_count:
format: int32
type: integer
x-stream-index: "023"
completed_at:
$ref: '#/components/schemas/NullTime'
x-stream-index: "017"
content_changed:
type: boolean
x-stream-index: "029"
x-stream-index: "030"
created_at:
format: date-time
type: string
x-stream-index: "004"
entity_creator:
$ref: '#/components/schemas/EntityCreator'
x-stream-index: "024"
x-stream-index: "025"
entity_id:
type: string
x-stream-index: "007"
@@ -8111,15 +8115,15 @@ components:
x-stream-index: "006"
feeds_v2_activity:
$ref: '#/components/schemas/EnrichedActivity'
x-stream-index: "030"
x-stream-index: "031"
feeds_v2_reaction:
$ref: '#/components/schemas/Reaction'
x-stream-index: "031"
x-stream-index: "032"
flags:
items:
$ref: '#/components/schemas/Flag2'
type: array
x-stream-index: "027"
x-stream-index: "028"
has_image:
type: boolean
x-stream-index: "011"
@@ -8139,7 +8143,7 @@ components:
x-stream-index: "018"
message:
$ref: '#/components/schemas/Message'
x-stream-index: "023"
x-stream-index: "024"
moderation_payload:
$ref: '#/components/schemas/ModerationPayload'
x-stream-index: "009"
@@ -8189,6 +8193,7 @@ components:
- severity
- reviewed_at
- reviewed_by
- bounce_count
- bans
- flags
- actions
@@ -11003,7 +11008,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v139.2.0
openapi: 3.0.3
paths:
/app:
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
@@ -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:
@@ -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
@@ -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:
@@ -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
@@ -12401,7 +12449,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v139.2.0
openapi: 3.0.3
paths:
/app:
@@ -14742,6 +14790,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/CreateExternalStorageRequest'
description: CreateExternalStorageRequest
required: true
responses:
"201":
@@ -14817,6 +14866,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/UpdateExternalStorageRequest'
description: ExternalStorageRequest
required: true
responses:
"201":
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

488 changes: 429 additions & 59 deletions openapi/clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

534 changes: 477 additions & 57 deletions openapi/serverside-api.yaml

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

484 changes: 427 additions & 57 deletions openapi/video-openapi-clientside.yaml

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

511 changes: 463 additions & 48 deletions openapi/video-openapi.yaml

Large diffs are not rendered by default.

0 comments on commit a6508de

Please sign in to comment.