Skip to content

Commit fc68770

Browse files
authored
Update video openapi Spec (#1384)
2 parents 129f8c5 + 362230a commit fc68770

36 files changed

+1381
-856
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: 96 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -293,23 +293,24 @@ components:
293293
file_upload_config:
294294
$ref: '#/components/schemas/FileUploadConfig'
295295
x-stream-index: "033"
296+
id:
297+
format: int32
298+
type: integer
299+
x-stream-index: "001"
296300
image_upload_config:
297301
$ref: '#/components/schemas/FileUploadConfig'
298302
x-stream-index: "034"
299303
name:
300304
type: string
301-
x-stream-index: "001"
302-
region:
303-
type: string
304-
x-stream-index: "003"
305-
shard:
305+
x-stream-index: "002"
306+
placement:
306307
type: string
307308
x-stream-index: "004"
308309
required:
310+
- id
309311
- name
310312
- organization
311-
- region
312-
- shard
313+
- placement
313314
- push_notifications
314315
- webhook_url
315316
- moderation_webhook_url
@@ -4677,6 +4678,81 @@ components:
46774678
x-stream-index: "001"
46784679
type: object
46794680
MessagePaginationParams:
4681+
properties:
4682+
created_at_after:
4683+
description: The timestamp to get messages with a created_at timestamp greater
4684+
than
4685+
format: date-time
4686+
title: Created_at after
4687+
type: string
4688+
x-stream-index: "008"
4689+
created_at_after_or_equal:
4690+
description: The timestamp to get messages with a created_at timestamp greater
4691+
than or equal to
4692+
format: date-time
4693+
title: Created_at after or equal
4694+
type: string
4695+
x-stream-index: "007"
4696+
created_at_around:
4697+
description: The result will be a set of messages, that are both older and
4698+
newer than the created_at timestamp provided, distributed evenly around
4699+
the timestamp
4700+
format: date-time
4701+
title: Created_at around
4702+
type: string
4703+
x-stream-index: "012"
4704+
created_at_before:
4705+
description: The timestamp to get messages with a created_at timestamp smaller
4706+
than
4707+
format: date-time
4708+
title: Created_at after before
4709+
type: string
4710+
x-stream-index: "010"
4711+
created_at_before_or_equal:
4712+
description: The timestamp to get messages with a created_at timestamp smaller
4713+
than or equal to
4714+
format: date-time
4715+
title: Created_at after before or equal
4716+
type: string
4717+
x-stream-index: "009"
4718+
id_around:
4719+
description: The result will be a set of messages, that are both older and
4720+
newer than the message with the provided ID, and the message with the
4721+
ID provided will be in the middle of the set
4722+
title: Id around
4723+
type: string
4724+
x-stream-index: "011"
4725+
id_gt:
4726+
description: The ID of the message to get messages with a timestamp greater
4727+
than
4728+
title: IDGT
4729+
type: string
4730+
x-stream-index: "004"
4731+
id_gte:
4732+
description: The ID of the message to get messages with a timestamp greater
4733+
than or equal to
4734+
title: IDGTE
4735+
type: string
4736+
x-stream-index: "003"
4737+
id_lt:
4738+
description: The ID of the message to get messages with a timestamp smaller
4739+
than
4740+
title: IDLT
4741+
type: string
4742+
x-stream-index: "006"
4743+
id_lte:
4744+
description: The ID of the message to get messages with a timestamp smaller
4745+
than or equal to
4746+
title: IDLTE
4747+
type: string
4748+
x-stream-index: "005"
4749+
limit:
4750+
description: 'The maximum number of messages to return (max limit '
4751+
format: int32
4752+
minimum: 0
4753+
title: Limit
4754+
type: integer
4755+
x-stream-index: "001"
46804756
type: object
46814757
MessageReadEvent:
46824758
properties:
@@ -12007,7 +12083,7 @@ components:
1200712083
type: apiKey
1200812084
info:
1200912085
title: Stream API
12010-
version: v198.9.0
12086+
version: v198.11.0
1201112087
openapi: 3.0.3
1201212088
paths:
1201312089
/app:
@@ -14477,107 +14553,41 @@ paths:
1447714553
- in: query
1447814554
name: limit
1447914555
schema:
14480-
description: 'The maximum number of messages to return (max limit '
1448114556
format: int32
1448214557
minimum: 0
14483-
title: Limit
1448414558
type: integer
14485-
x-stream-index: "003.001"
14486-
- in: query
14487-
name: offset
14488-
schema:
14489-
description: The offset to start from
14490-
format: int32
14491-
title: Offset
14492-
type: integer
14493-
x-stream-index: "003.002"
14559+
writeOnly: true
14560+
x-stream-index: "003"
1449414561
- in: query
1449514562
name: id_gte
1449614563
schema:
14497-
description: The ID of the message to get messages with a timestamp greater
14498-
than or equal to
14499-
title: IDGTE
1450014564
type: string
14501-
x-stream-index: "003.003"
14565+
writeOnly: true
14566+
x-stream-index: "004"
1450214567
- in: query
1450314568
name: id_gt
1450414569
schema:
14505-
description: The ID of the message to get messages with a timestamp greater
14506-
than
14507-
title: IDGT
1450814570
type: string
14509-
x-stream-index: "003.004"
14571+
writeOnly: true
14572+
x-stream-index: "005"
1451014573
- in: query
1451114574
name: id_lte
1451214575
schema:
14513-
description: The ID of the message to get messages with a timestamp smaller
14514-
than or equal to
14515-
title: IDLTE
1451614576
type: string
14517-
x-stream-index: "003.005"
14577+
writeOnly: true
14578+
x-stream-index: "006"
1451814579
- in: query
1451914580
name: id_lt
1452014581
schema:
14521-
description: The ID of the message to get messages with a timestamp smaller
14522-
than
14523-
title: IDLT
14524-
type: string
14525-
x-stream-index: "003.006"
14526-
- in: query
14527-
name: created_at_after_or_equal
14528-
schema:
14529-
description: The timestamp to get messages with a created_at timestamp greater
14530-
than or equal to
14531-
format: date-time
14532-
title: Created_at after or equal
1453314582
type: string
14534-
x-stream-index: "003.007"
14535-
- in: query
14536-
name: created_at_after
14537-
schema:
14538-
description: The timestamp to get messages with a created_at timestamp greater
14539-
than
14540-
format: date-time
14541-
title: Created_at after
14542-
type: string
14543-
x-stream-index: "003.008"
14544-
- in: query
14545-
name: created_at_before_or_equal
14546-
schema:
14547-
description: The timestamp to get messages with a created_at timestamp smaller
14548-
than or equal to
14549-
format: date-time
14550-
title: Created_at after before or equal
14551-
type: string
14552-
x-stream-index: "003.009"
14553-
- in: query
14554-
name: created_at_before
14555-
schema:
14556-
description: The timestamp to get messages with a created_at timestamp smaller
14557-
than
14558-
format: date-time
14559-
title: Created_at after before
14560-
type: string
14561-
x-stream-index: "003.010"
14583+
writeOnly: true
14584+
x-stream-index: "007"
1456214585
- in: query
1456314586
name: id_around
1456414587
schema:
14565-
description: The result will be a set of messages, that are both older and
14566-
newer than the message with the provided ID, and the message with the
14567-
ID provided will be in the middle of the set
14568-
title: Id around
14569-
type: string
14570-
x-stream-index: "003.011"
14571-
- in: query
14572-
name: created_at_around
14573-
schema:
14574-
description: The result will be a set of messages, that are both older and
14575-
newer than the created_at timestamp provided, distributed evenly around
14576-
the timestamp
14577-
format: date-time
14578-
title: Created_at around
1457914588
type: string
14580-
x-stream-index: "003.012"
14589+
writeOnly: true
14590+
x-stream-index: "008"
1458114591
responses:
1458214592
"200":
1458314593
content:

openapi/chat-openapi.json

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

0 commit comments

Comments
 (0)