Skip to content

Commit 09a3d51

Browse files
committed
Update video openapi Spec
1 parent 8a0981c commit 09a3d51

14 files changed

+1545
-267
lines changed

docusaurus/video/docusaurus/docs/api/video-client-openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docusaurus/video/docusaurus/docs/api/video-openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi-clientside.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi-clientside.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4039,7 +4039,8 @@ components:
40394039
x-stream-index: "002"
40404040
type:
40414041
enum:
4042-
- '''''regular'
4042+
- ''''''
4043+
- regular
40434044
- system
40444045
type: string
40454046
x-stream-index: "011"
@@ -10069,7 +10070,7 @@ components:
1006910070
type: apiKey
1007010071
info:
1007110072
title: Stream API
10072-
version: v154.1.0
10073+
version: v159.1.0
1007310074
openapi: 3.0.3
1007410075
paths:
1007510076
/app:

openapi/chat-openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi.yaml

Lines changed: 153 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,147 @@ components:
380380
- moderation_multitenant_blocklist_enabled
381381
- guest_user_creation_disabled
382382
type: object
383+
AsyncExportChannelsEvent:
384+
nullable: true
385+
properties:
386+
created_at:
387+
format: date-time
388+
type: string
389+
x-stream-index: "003.003"
390+
custom:
391+
additionalProperties: {}
392+
type: object
393+
x-stream-index: "003.007"
394+
finished_at:
395+
format: date-time
396+
type: string
397+
x-stream-index: "002.003"
398+
received_at:
399+
format: date-time
400+
type: string
401+
x-stream-index: "003.004"
402+
started_at:
403+
format: date-time
404+
type: string
405+
x-stream-index: "002.002"
406+
task_id:
407+
type: string
408+
x-stream-index: "002.001"
409+
type:
410+
default: export.channels.success
411+
type: string
412+
x-stream-index: "003.002"
413+
url:
414+
type: string
415+
x-stream-index: "001"
416+
required:
417+
- url
418+
- task_id
419+
- started_at
420+
- finished_at
421+
- type
422+
- created_at
423+
- custom
424+
title: AsyncExportChannelsEvent
425+
type: object
426+
x-stream-event-client-type: true
427+
x-stream-event-doc-group: other
428+
x-stream-is-event: true
429+
x-stream-ws-base-event-name: VideoEvent
430+
AsyncExportErrorEvent:
431+
nullable: true
432+
properties:
433+
created_at:
434+
format: date-time
435+
type: string
436+
x-stream-index: "003.003"
437+
custom:
438+
additionalProperties: {}
439+
type: object
440+
x-stream-index: "003.007"
441+
error:
442+
type: string
443+
x-stream-index: "001"
444+
finished_at:
445+
format: date-time
446+
type: string
447+
x-stream-index: "002.003"
448+
received_at:
449+
format: date-time
450+
type: string
451+
x-stream-index: "003.004"
452+
started_at:
453+
format: date-time
454+
type: string
455+
x-stream-index: "002.002"
456+
task_id:
457+
type: string
458+
x-stream-index: "002.001"
459+
type:
460+
default: export.users.error
461+
type: string
462+
x-stream-index: "003.002"
463+
required:
464+
- error
465+
- task_id
466+
- started_at
467+
- finished_at
468+
- type
469+
- created_at
470+
- custom
471+
title: AsyncExportErrorEvent
472+
type: object
473+
x-stream-event-client-type: true
474+
x-stream-event-doc-group: other
475+
x-stream-is-event: true
476+
x-stream-ws-base-event-name: VideoEvent
477+
AsyncExportUsersEvent:
478+
nullable: true
479+
properties:
480+
created_at:
481+
format: date-time
482+
type: string
483+
x-stream-index: "003.003"
484+
custom:
485+
additionalProperties: {}
486+
type: object
487+
x-stream-index: "003.007"
488+
finished_at:
489+
format: date-time
490+
type: string
491+
x-stream-index: "002.003"
492+
received_at:
493+
format: date-time
494+
type: string
495+
x-stream-index: "003.004"
496+
started_at:
497+
format: date-time
498+
type: string
499+
x-stream-index: "002.002"
500+
task_id:
501+
type: string
502+
x-stream-index: "002.001"
503+
type:
504+
default: export.users.success
505+
type: string
506+
x-stream-index: "003.002"
507+
url:
508+
type: string
509+
x-stream-index: "001"
510+
required:
511+
- url
512+
- task_id
513+
- started_at
514+
- finished_at
515+
- type
516+
- created_at
517+
- custom
518+
title: AsyncExportUsersEvent
519+
type: object
520+
x-stream-event-client-type: true
521+
x-stream-event-doc-group: other
522+
x-stream-is-event: true
523+
x-stream-ws-base-event-name: VideoEvent
383524
AsyncModerationCallbackConfig:
384525
properties:
385526
mode:
@@ -4208,26 +4349,6 @@ components:
42084349
- task_id
42094350
- duration
42104351
type: object
4211-
ExportChannelsResult:
4212-
properties:
4213-
path:
4214-
description: S3 path of result
4215-
title: PathPrefix
4216-
type: string
4217-
x-stream-index: "002"
4218-
s3_bucket_name:
4219-
description: S3 bucket name result
4220-
title: S3 bucket name
4221-
type: string
4222-
x-stream-index: "003"
4223-
url:
4224-
description: URL of result
4225-
title: URL
4226-
type: string
4227-
x-stream-index: "001"
4228-
required:
4229-
- url
4230-
type: object
42314352
ExportUserResponse:
42324353
nullable: true
42334354
properties:
@@ -5123,59 +5244,6 @@ components:
51235244
- duration
51245245
title: Response
51255246
type: object
5126-
GetExportChannelsStatusResponse:
5127-
nullable: true
5128-
properties:
5129-
created_at:
5130-
description: Date/time of creation
5131-
format: date-time
5132-
title: Created at
5133-
type: string
5134-
x-stream-index: "001.003"
5135-
duration:
5136-
description: Duration of the request in milliseconds
5137-
title: Duration
5138-
type: string
5139-
x-stream-index: 001.007.001
5140-
error:
5141-
$ref: '#/components/schemas/ErrorResult'
5142-
description: Contains task error in case of failure
5143-
title: Error
5144-
x-stream-index: "003"
5145-
result:
5146-
$ref: '#/components/schemas/ExportChannelsResult'
5147-
description: Contains task result in case of success
5148-
title: ExportChannelsResult
5149-
x-stream-index: "002"
5150-
status:
5151-
description: Task status
5152-
enum:
5153-
- waiting
5154-
- pending
5155-
- running
5156-
- completed
5157-
- failed
5158-
- canceled
5159-
title: Status
5160-
type: string
5161-
x-stream-index: "001.002"
5162-
task_id:
5163-
title: Task ID
5164-
type: string
5165-
x-stream-index: "001.001"
5166-
updated_at:
5167-
description: Date/time of the last update
5168-
format: date-time
5169-
title: Updated at
5170-
type: string
5171-
x-stream-index: "001.004"
5172-
required:
5173-
- task_id
5174-
- status
5175-
- created_at
5176-
- updated_at
5177-
- duration
5178-
type: object
51795247
GetImportResponse:
51805248
description: Basic response information
51815249
nullable: true
@@ -6785,7 +6853,7 @@ components:
67856853
type: array
67866854
x-stream-index: "001.002"
67876855
type:
6788-
default: message.new
6856+
default: notification.thread_message_new
67896857
type: string
67906858
x-stream-index: "004.001"
67916859
user:
@@ -6918,7 +6986,8 @@ components:
69186986
x-stream-index: "002"
69196987
type:
69206988
enum:
6921-
- '''''regular'
6989+
- ''''''
6990+
- regular
69226991
- system
69236992
type: string
69246993
x-stream-index: "011"
@@ -14015,6 +14084,10 @@ components:
1401514084
channel.unmuted: '#/components/schemas/ChannelUnmutedEvent'
1401614085
channel.updated: '#/components/schemas/ChannelUpdatedEvent'
1401714086
channel.visible: '#/components/schemas/ChannelVisibleEvent'
14087+
export.channels.error: '#/components/schemas/AsyncExportErrorEvent'
14088+
export.channels.success: '#/components/schemas/AsyncExportChannelsEvent'
14089+
export.users.error: '#/components/schemas/AsyncExportErrorEvent'
14090+
export.users.success: '#/components/schemas/AsyncExportUsersEvent'
1401814091
flag.updated: '#/components/schemas/FlagUpdatedEvent'
1401914092
member.added: '#/components/schemas/MemberAddedEvent'
1402014093
member.removed: '#/components/schemas/MemberRemovedEvent'
@@ -14045,6 +14118,10 @@ components:
1404514118
propertyName: type
1404614119
oneOf:
1404714120
- $ref: '#/components/schemas/AnyEvent'
14121+
- $ref: '#/components/schemas/AsyncExportChannelsEvent'
14122+
- $ref: '#/components/schemas/AsyncExportErrorEvent'
14123+
- $ref: '#/components/schemas/AsyncExportErrorEvent'
14124+
- $ref: '#/components/schemas/AsyncExportUsersEvent'
1404814125
- $ref: '#/components/schemas/CampaignCompletedEvent'
1404914126
- $ref: '#/components/schemas/CampaignStartedEvent'
1405014127
- $ref: '#/components/schemas/ChannelCreatedEvent'
@@ -14193,7 +14270,7 @@ components:
1419314270
type: apiKey
1419414271
info:
1419514272
title: Stream API
14196-
version: v154.1.0
14273+
version: v159.1.0
1419714274
openapi: 3.0.3
1419814275
paths:
1419914276
/app:
@@ -16294,43 +16371,6 @@ paths:
1629416371
summary: Export channels
1629516372
tags:
1629616373
- product:chat
16297-
/export_channels/{id}:
16298-
get:
16299-
description: |2+
16300-
16301-
operationId: GetExportChannelsStatus
16302-
parameters:
16303-
- in: path
16304-
name: id
16305-
required: true
16306-
schema:
16307-
description: Task ID
16308-
title: ID
16309-
type: string
16310-
writeOnly: true
16311-
x-stream-index: "001"
16312-
responses:
16313-
"200":
16314-
content:
16315-
application/json:
16316-
schema:
16317-
$ref: '#/components/schemas/GetExportChannelsStatusResponse'
16318-
description: Successful response
16319-
"400":
16320-
content:
16321-
application/json:
16322-
schema:
16323-
$ref: '#/components/schemas/APIError'
16324-
description: Bad request
16325-
"429":
16326-
content:
16327-
application/json:
16328-
schema:
16329-
$ref: '#/components/schemas/APIError'
16330-
description: Too many requests
16331-
summary: Export channels status
16332-
tags:
16333-
- product:chat
1633416374
/external_storage:
1633516375
get:
1633616376
description: |

openapi/clientside-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)