Skip to content

Commit 8120afd

Browse files
authored
Update video openapi Spec (#1469)
2 parents e8aaf56 + beedbc1 commit 8120afd

36 files changed

+1662
-579
lines changed

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: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3015,17 +3015,20 @@ components:
30153015
comment_reaction:
30163016
type: string
30173017
x-stream-index: "004"
3018+
comment_reply:
3019+
type: string
3020+
x-stream-index: "005"
30183021
custom_activity_types:
30193022
additionalProperties:
30203023
type: string
30213024
type: object
3022-
x-stream-index: "006"
3025+
x-stream-index: "007"
30233026
follow:
30243027
type: string
30253028
x-stream-index: "001"
30263029
mention:
30273030
type: string
3028-
x-stream-index: "005"
3031+
x-stream-index: "006"
30293032
reaction:
30303033
type: string
30313034
x-stream-index: "003"
@@ -4708,7 +4711,7 @@ components:
47084711
type: array
47094712
x-stream-index: "001.002"
47104713
type:
4711-
default: message.new
4714+
default: notification.thread_message_new
47124715
type: string
47134716
x-stream-index: "004.001"
47144717
user:
@@ -12117,7 +12120,7 @@ components:
1211712120
type: apiKey
1211812121
info:
1211912122
title: Stream API
12120-
version: v205.3.0
12123+
version: v207.1.0
1212112124
openapi: 3.0.3
1212212125
paths:
1212312126
/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 & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ components:
606606
type: string
607607
x-stream-index: "002.001"
608608
type:
609-
default: export.moderation_logs.error
609+
default: export.channels.error
610610
type: string
611611
x-stream-index: "003.002"
612612
required:
@@ -1677,6 +1677,130 @@ components:
16771677
- custom
16781678
- auto_translation_language
16791679
type: object
1680+
ChannelBatchUpdatedCompletedEvent:
1681+
nullable: true
1682+
properties:
1683+
batch_created_at:
1684+
format: date-time
1685+
type: string
1686+
x-stream-index: "002.006"
1687+
created_at:
1688+
format: date-time
1689+
type: string
1690+
x-stream-index: "001.003"
1691+
custom:
1692+
additionalProperties: {}
1693+
type: object
1694+
x-stream-index: "001.007"
1695+
failed_channels:
1696+
items:
1697+
$ref: '#/components/schemas/FailedChannelUpdates'
1698+
type: array
1699+
x-stream-index: "002.004"
1700+
finished_at:
1701+
format: date-time
1702+
type: string
1703+
x-stream-index: "002.007"
1704+
operation:
1705+
type: string
1706+
x-stream-index: "002.001"
1707+
received_at:
1708+
format: date-time
1709+
type: string
1710+
x-stream-index: "001.004"
1711+
status:
1712+
type: string
1713+
x-stream-index: "002.002"
1714+
success_channels_count:
1715+
format: int32
1716+
type: integer
1717+
x-stream-index: "002.005"
1718+
task_id:
1719+
type: string
1720+
x-stream-index: "002.003"
1721+
type:
1722+
default: channel_batch_update.completed
1723+
type: string
1724+
x-stream-index: "001.002"
1725+
required:
1726+
- type
1727+
- created_at
1728+
- custom
1729+
- operation
1730+
- status
1731+
- task_id
1732+
- failed_channels
1733+
- success_channels_count
1734+
- batch_created_at
1735+
- finished_at
1736+
title: ChannelBatchUpdatedCompletedEvent
1737+
type: object
1738+
x-stream-event-client-type: true
1739+
x-stream-event-doc-group: other
1740+
x-stream-is-event: true
1741+
x-stream-ws-base-event-name: VideoEvent
1742+
ChannelBatchUpdatedStartedEvent:
1743+
nullable: true
1744+
properties:
1745+
batch_created_at:
1746+
format: date-time
1747+
type: string
1748+
x-stream-index: "002.006"
1749+
created_at:
1750+
format: date-time
1751+
type: string
1752+
x-stream-index: "001.003"
1753+
custom:
1754+
additionalProperties: {}
1755+
type: object
1756+
x-stream-index: "001.007"
1757+
failed_channels:
1758+
items:
1759+
$ref: '#/components/schemas/FailedChannelUpdates'
1760+
type: array
1761+
x-stream-index: "002.004"
1762+
finished_at:
1763+
format: date-time
1764+
type: string
1765+
x-stream-index: "002.007"
1766+
operation:
1767+
type: string
1768+
x-stream-index: "002.001"
1769+
received_at:
1770+
format: date-time
1771+
type: string
1772+
x-stream-index: "001.004"
1773+
status:
1774+
type: string
1775+
x-stream-index: "002.002"
1776+
success_channels_count:
1777+
format: int32
1778+
type: integer
1779+
x-stream-index: "002.005"
1780+
task_id:
1781+
type: string
1782+
x-stream-index: "002.003"
1783+
type:
1784+
default: channel_batch_update.started
1785+
type: string
1786+
x-stream-index: "001.002"
1787+
required:
1788+
- type
1789+
- created_at
1790+
- custom
1791+
- operation
1792+
- status
1793+
- task_id
1794+
- failed_channels
1795+
- success_channels_count
1796+
- batch_created_at
1797+
- finished_at
1798+
title: ChannelBatchUpdatedStartedEvent
1799+
type: object
1800+
x-stream-event-client-type: true
1801+
x-stream-event-doc-group: other
1802+
x-stream-is-event: true
1803+
x-stream-ws-base-event-name: VideoEvent
16801804
ChannelConfig:
16811805
description: Channel configuration overrides
16821806
properties:
@@ -4943,11 +5067,11 @@ components:
49435067
properties:
49445068
callback:
49455069
$ref: '#/components/schemas/AsyncModerationCallbackConfig'
4946-
x-stream-index: 019.001.002
5070+
x-stream-index: 020.001.002
49475071
created_at:
49485072
format: date-time
49495073
type: string
4950-
x-stream-index: "020"
5074+
x-stream-index: "021"
49515075
enabled:
49525076
type: boolean
49535077
x-stream-index: "003"
@@ -4965,6 +5089,9 @@ components:
49655089
product:
49665090
type: string
49675091
x-stream-index: "018"
5092+
should_send_custom_events:
5093+
type: boolean
5094+
x-stream-index: "019"
49685095
sns_auth_type:
49695096
type: string
49705097
x-stream-index: "014"
@@ -5004,11 +5131,11 @@ components:
50045131
timeout_ms:
50055132
format: int32
50065133
type: integer
5007-
x-stream-index: 019.001.001
5134+
x-stream-index: 020.001.001
50085135
updated_at:
50095136
format: date-time
50105137
type: string
5011-
x-stream-index: "021"
5138+
x-stream-index: "022"
50125139
webhook_url:
50135140
type: string
50145141
x-stream-index: "005"
@@ -5213,6 +5340,20 @@ components:
52135340
type: object
52145341
x-stream-index: "001"
52155342
type: object
5343+
FailedChannelUpdates:
5344+
properties:
5345+
cids:
5346+
items:
5347+
type: string
5348+
type: array
5349+
x-stream-index: "002"
5350+
reason:
5351+
type: string
5352+
x-stream-index: "001"
5353+
required:
5354+
- reason
5355+
- cids
5356+
type: object
52165357
FeedsPreferences:
52175358
properties:
52185359
comment:
@@ -5221,17 +5362,20 @@ components:
52215362
comment_reaction:
52225363
type: string
52235364
x-stream-index: "004"
5365+
comment_reply:
5366+
type: string
5367+
x-stream-index: "005"
52245368
custom_activity_types:
52255369
additionalProperties:
52265370
type: string
52275371
type: object
5228-
x-stream-index: "006"
5372+
x-stream-index: "007"
52295373
follow:
52305374
type: string
52315375
x-stream-index: "001"
52325376
mention:
52335377
type: string
5234-
x-stream-index: "005"
5378+
x-stream-index: "006"
52355379
reaction:
52365380
type: string
52375381
x-stream-index: "003"
@@ -16638,6 +16782,8 @@ components:
1663816782
channel.unmuted: '#/components/schemas/ChannelUnmutedEvent'
1663916783
channel.updated: '#/components/schemas/ChannelUpdatedEvent'
1664016784
channel.visible: '#/components/schemas/ChannelVisibleEvent'
16785+
channel_batch_update.completed: '#/components/schemas/ChannelBatchUpdatedCompletedEvent'
16786+
channel_batch_update.started: '#/components/schemas/ChannelBatchUpdatedStartedEvent'
1664116787
export.bulk_image_moderation.error: '#/components/schemas/AsyncExportErrorEvent'
1664216788
export.bulk_image_moderation.success: '#/components/schemas/AsyncBulkImageModerationEvent'
1664316789
export.channels.error: '#/components/schemas/AsyncExportErrorEvent'
@@ -16693,6 +16839,8 @@ components:
1669316839
- $ref: '#/components/schemas/AsyncExportUsersEvent'
1669416840
- $ref: '#/components/schemas/CampaignCompletedEvent'
1669516841
- $ref: '#/components/schemas/CampaignStartedEvent'
16842+
- $ref: '#/components/schemas/ChannelBatchUpdatedCompletedEvent'
16843+
- $ref: '#/components/schemas/ChannelBatchUpdatedStartedEvent'
1669616844
- $ref: '#/components/schemas/ChannelCreatedEvent'
1669716845
- $ref: '#/components/schemas/ChannelDeletedEvent'
1669816846
- $ref: '#/components/schemas/ChannelFrozenEvent'
@@ -16851,7 +16999,7 @@ components:
1685116999
type: apiKey
1685217000
info:
1685317001
title: Stream API
16854-
version: v205.3.0
17002+
version: v207.1.0
1685517003
openapi: 3.0.3
1685617004
paths:
1685717005
/app:

openapi/clientside-api.json

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

0 commit comments

Comments
 (0)