Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15330,6 +15330,11 @@ components:
title: Banned
type: boolean
x-stream-index: "001.012"
blocked_user_ids:
items:
type: string
type: array
x-stream-index: "001.017"
created_at:
description: Date/time of creation
format: date-time
Expand Down Expand Up @@ -15437,6 +15442,11 @@ components:
banned:
type: boolean
x-stream-index: "012"
blocked_user_ids:
items:
type: string
type: array
x-stream-index: "017"
created_at:
format: date-time
type: string
Expand Down Expand Up @@ -15514,6 +15524,11 @@ components:
banned:
type: boolean
x-stream-index: "001.012"
blocked_user_ids:
items:
type: string
type: array
x-stream-index: "001.017"
created_at:
format: date-time
type: string
Expand Down Expand Up @@ -16249,7 +16264,7 @@ components:
type: apiKey
info:
title: Stream API
version: v233.19.0
version: v233.20.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.

261 changes: 259 additions & 2 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.review_queue.error
default: export.moderation_logs.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -7584,6 +7584,73 @@ components:
- duration
title: Response
type: object
GetExternalStorageAWSS3Response:
properties:
bucket:
type: string
x-stream-index: "002"
path_prefix:
type: string
x-stream-index: "004"
region:
type: string
x-stream-index: "003"
role_arn:
type: string
x-stream-index: "001"
required:
- role_arn
- bucket
- region
type: object
GetExternalStorageGCSResponse:
properties:
bucket:
type: string
x-stream-index: "001"
credentials_set:
type: boolean
x-stream-index: "003"
path_prefix:
type: string
x-stream-index: "002"
required:
- bucket
- credentials_set
type: object
GetExternalStorageResponse:
description: Basic response information
nullable: true
properties:
aws_s3:
$ref: '#/components/schemas/GetExternalStorageAWSS3Response'
x-stream-index: "002"
created_at:
format: date-time
type: string
x-stream-index: "004"
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "006.001"
gcs:
$ref: '#/components/schemas/GetExternalStorageGCSResponse'
x-stream-index: "003"
type:
type: string
x-stream-index: "001"
updated_at:
format: date-time
type: string
x-stream-index: "005"
required:
- type
- created_at
- updated_at
- duration
title: Response
type: object
GetImportResponse:
description: Basic response information
nullable: true
Expand Down Expand Up @@ -20053,6 +20120,71 @@ components:
required:
- duration
type: object
UpsertExternalStorageAWSS3Request:
properties:
bucket:
type: string
x-stream-index: "002"
path_prefix:
type: string
x-stream-index: "004"
region:
type: string
x-stream-index: "003"
role_arn:
type: string
x-stream-index: "001"
required:
- role_arn
- bucket
- region
type: object
UpsertExternalStorageGCSRequest:
properties:
bucket:
type: string
x-stream-index: "001"
credentials:
type: string
x-stream-index: "002"
path_prefix:
type: string
x-stream-index: "003"
required:
- bucket
- credentials
type: object
UpsertExternalStorageRequest:
nullable: true
properties:
aws_s3:
$ref: '#/components/schemas/UpsertExternalStorageAWSS3Request'
x-stream-index: "002"
gcs:
$ref: '#/components/schemas/UpsertExternalStorageGCSRequest'
x-stream-index: "003"
type:
enum:
- aws_s3
- gcs
type: string
x-stream-index: "001"
required:
- type
type: object
UpsertExternalStorageResponse:
description: Basic response information
nullable: true
properties:
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
title: Response
type: object
UpsertPushPreferencesRequest:
nullable: true
properties:
Expand Down Expand Up @@ -21638,6 +21770,19 @@ components:
x-stream-event-doc-group: other
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
ValidateExternalStorageResponse:
description: Basic response information
nullable: true
properties:
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
title: Response
type: object
VideoSettings:
properties:
access_request_enabled:
Expand Down Expand Up @@ -22036,7 +22181,7 @@ components:
type: apiKey
info:
title: Stream API
version: v233.19.0
version: v233.20.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -25177,6 +25322,118 @@ paths:
summary: Cancel import v2 task
tags:
- product:chat
/imports/v2/external-storage:
delete:
description: |
Removes the external storage configuration for the app. Idempotent: succeeds even if no configuration exists.
operationId: DeleteImporterExternalStorage
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteExternalStorageResponse'
description: Response
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Bad request
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Too many requests
summary: Delete external storage
tags:
- product:chat
get:
description: |
Returns the current external storage configuration for the app. Returns 404 if no configuration exists.
operationId: GetImporterExternalStorage
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/GetExternalStorageResponse'
description: Response
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Bad request
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Too many requests
summary: Get external storage
tags:
- product:chat
put:
description: |
Creates or updates the external storage configuration for the app. Supports AWS S3 (via cross-account IAM role assumption) and GCS (via service-account JSON credentials).
operationId: UpsertImporterExternalStorage
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpsertExternalStorageRequest'
required: true
responses:
"201":
content:
application/json:
schema:
$ref: '#/components/schemas/UpsertExternalStorageResponse'
description: Response
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Bad request
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Too many requests
summary: Upsert external storage
tags:
- product:chat
/imports/v2/external-storage/validate:
post:
description: |
Validates the configured external storage. For AWS S3, performs a live STS AssumeRole and S3 ListObjectsV2 check. For GCS, performs a live bucket listing check using the configured service-account credentials.
operationId: ValidateImporterExternalStorage
responses:
"201":
content:
application/json:
schema:
$ref: '#/components/schemas/ValidateExternalStorageResponse'
description: Response
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Bad request
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Too many requests
summary: Validate external storage
tags:
- product:chat
/members:
get:
description: |
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

Loading
Loading