Skip to content

Commit 7239d1e

Browse files
committed
Update video openapi Spec
1 parent 8a0981c commit 7239d1e

14 files changed

+1561
-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: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2644,6 +2644,10 @@ components:
26442644
type: object
26452645
FullUserResponse:
26462646
properties:
2647+
ban_expires:
2648+
format: date-time
2649+
type: string
2650+
x-stream-index: "015"
26472651
banned:
26482652
type: boolean
26492653
x-stream-index: "001.011"
@@ -3909,7 +3913,7 @@ components:
39093913
type: array
39103914
x-stream-index: "001.002"
39113915
type:
3912-
default: message.new
3916+
default: notification.thread_message_new
39133917
type: string
39143918
x-stream-index: "004.001"
39153919
user:
@@ -4039,7 +4043,8 @@ components:
40394043
x-stream-index: "002"
40404044
type:
40414045
enum:
4042-
- '''''regular'
4046+
- ''''''
4047+
- regular
40434048
- system
40444049
type: string
40454050
x-stream-index: "011"
@@ -10069,7 +10074,7 @@ components:
1006910074
type: apiKey
1007010075
info:
1007110076
title: Stream API
10072-
version: v154.1.0
10077+
version: v159.3.0
1007310078
openapi: 3.0.3
1007410079
paths:
1007510080
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 156 additions & 112 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:
@@ -4679,6 +4800,10 @@ components:
46794800
type: object
46804801
FullUserResponse:
46814802
properties:
4803+
ban_expires:
4804+
format: date-time
4805+
type: string
4806+
x-stream-index: "015"
46824807
banned:
46834808
type: boolean
46844809
x-stream-index: "001.011"
@@ -5123,59 +5248,6 @@ components:
51235248
- duration
51245249
title: Response
51255250
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
51795251
GetImportResponse:
51805252
description: Basic response information
51815253
nullable: true
@@ -6918,7 +6990,8 @@ components:
69186990
x-stream-index: "002"
69196991
type:
69206992
enum:
6921-
- '''''regular'
6993+
- ''''''
6994+
- regular
69226995
- system
69236996
type: string
69246997
x-stream-index: "011"
@@ -14015,6 +14088,10 @@ components:
1401514088
channel.unmuted: '#/components/schemas/ChannelUnmutedEvent'
1401614089
channel.updated: '#/components/schemas/ChannelUpdatedEvent'
1401714090
channel.visible: '#/components/schemas/ChannelVisibleEvent'
14091+
export.channels.error: '#/components/schemas/AsyncExportErrorEvent'
14092+
export.channels.success: '#/components/schemas/AsyncExportChannelsEvent'
14093+
export.users.error: '#/components/schemas/AsyncExportErrorEvent'
14094+
export.users.success: '#/components/schemas/AsyncExportUsersEvent'
1401814095
flag.updated: '#/components/schemas/FlagUpdatedEvent'
1401914096
member.added: '#/components/schemas/MemberAddedEvent'
1402014097
member.removed: '#/components/schemas/MemberRemovedEvent'
@@ -14045,6 +14122,10 @@ components:
1404514122
propertyName: type
1404614123
oneOf:
1404714124
- $ref: '#/components/schemas/AnyEvent'
14125+
- $ref: '#/components/schemas/AsyncExportChannelsEvent'
14126+
- $ref: '#/components/schemas/AsyncExportErrorEvent'
14127+
- $ref: '#/components/schemas/AsyncExportErrorEvent'
14128+
- $ref: '#/components/schemas/AsyncExportUsersEvent'
1404814129
- $ref: '#/components/schemas/CampaignCompletedEvent'
1404914130
- $ref: '#/components/schemas/CampaignStartedEvent'
1405014131
- $ref: '#/components/schemas/ChannelCreatedEvent'
@@ -14193,7 +14274,7 @@ components:
1419314274
type: apiKey
1419414275
info:
1419514276
title: Stream API
14196-
version: v154.1.0
14277+
version: v159.3.0
1419714278
openapi: 3.0.3
1419814279
paths:
1419914280
/app:
@@ -16294,43 +16375,6 @@ paths:
1629416375
summary: Export channels
1629516376
tags:
1629616377
- 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
1633416378
/external_storage:
1633516379
get:
1633616380
description: |

openapi/clientside-api.json

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

0 commit comments

Comments
 (0)