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.

182 changes: 96 additions & 86 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,23 +293,24 @@ components:
file_upload_config:
$ref: '#/components/schemas/FileUploadConfig'
x-stream-index: "033"
id:
format: int32
type: integer
x-stream-index: "001"
image_upload_config:
$ref: '#/components/schemas/FileUploadConfig'
x-stream-index: "034"
name:
type: string
x-stream-index: "001"
region:
type: string
x-stream-index: "003"
shard:
x-stream-index: "002"
placement:
type: string
x-stream-index: "004"
required:
- id
- name
- organization
- region
- shard
- placement
- push_notifications
- webhook_url
- moderation_webhook_url
Expand Down Expand Up @@ -4677,6 +4678,81 @@ components:
x-stream-index: "001"
type: object
MessagePaginationParams:
properties:
created_at_after:
description: The timestamp to get messages with a created_at timestamp greater
than
format: date-time
title: Created_at after
type: string
x-stream-index: "008"
created_at_after_or_equal:
description: The timestamp to get messages with a created_at timestamp greater
than or equal to
format: date-time
title: Created_at after or equal
type: string
x-stream-index: "007"
created_at_around:
description: The result will be a set of messages, that are both older and
newer than the created_at timestamp provided, distributed evenly around
the timestamp
format: date-time
title: Created_at around
type: string
x-stream-index: "012"
created_at_before:
description: The timestamp to get messages with a created_at timestamp smaller
than
format: date-time
title: Created_at after before
type: string
x-stream-index: "010"
created_at_before_or_equal:
description: The timestamp to get messages with a created_at timestamp smaller
than or equal to
format: date-time
title: Created_at after before or equal
type: string
x-stream-index: "009"
id_around:
description: The result will be a set of messages, that are both older and
newer than the message with the provided ID, and the message with the
ID provided will be in the middle of the set
title: Id around
type: string
x-stream-index: "011"
id_gt:
description: The ID of the message to get messages with a timestamp greater
than
title: IDGT
type: string
x-stream-index: "004"
id_gte:
description: The ID of the message to get messages with a timestamp greater
than or equal to
title: IDGTE
type: string
x-stream-index: "003"
id_lt:
description: The ID of the message to get messages with a timestamp smaller
than
title: IDLT
type: string
x-stream-index: "006"
id_lte:
description: The ID of the message to get messages with a timestamp smaller
than or equal to
title: IDLTE
type: string
x-stream-index: "005"
limit:
description: 'The maximum number of messages to return (max limit '
format: int32
minimum: 0
title: Limit
type: integer
x-stream-index: "001"
type: object
MessageReadEvent:
properties:
Expand Down Expand Up @@ -12007,7 +12083,7 @@ components:
type: apiKey
info:
title: Stream API
version: v198.9.0
version: v198.11.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -14477,107 +14553,41 @@ paths:
- in: query
name: limit
schema:
description: 'The maximum number of messages to return (max limit '
format: int32
minimum: 0
title: Limit
type: integer
x-stream-index: "003.001"
- in: query
name: offset
schema:
description: The offset to start from
format: int32
title: Offset
type: integer
x-stream-index: "003.002"
writeOnly: true
x-stream-index: "003"
- in: query
name: id_gte
schema:
description: The ID of the message to get messages with a timestamp greater
than or equal to
title: IDGTE
type: string
x-stream-index: "003.003"
writeOnly: true
x-stream-index: "004"
- in: query
name: id_gt
schema:
description: The ID of the message to get messages with a timestamp greater
than
title: IDGT
type: string
x-stream-index: "003.004"
writeOnly: true
x-stream-index: "005"
- in: query
name: id_lte
schema:
description: The ID of the message to get messages with a timestamp smaller
than or equal to
title: IDLTE
type: string
x-stream-index: "003.005"
writeOnly: true
x-stream-index: "006"
- in: query
name: id_lt
schema:
description: The ID of the message to get messages with a timestamp smaller
than
title: IDLT
type: string
x-stream-index: "003.006"
- in: query
name: created_at_after_or_equal
schema:
description: The timestamp to get messages with a created_at timestamp greater
than or equal to
format: date-time
title: Created_at after or equal
type: string
x-stream-index: "003.007"
- in: query
name: created_at_after
schema:
description: The timestamp to get messages with a created_at timestamp greater
than
format: date-time
title: Created_at after
type: string
x-stream-index: "003.008"
- in: query
name: created_at_before_or_equal
schema:
description: The timestamp to get messages with a created_at timestamp smaller
than or equal to
format: date-time
title: Created_at after before or equal
type: string
x-stream-index: "003.009"
- in: query
name: created_at_before
schema:
description: The timestamp to get messages with a created_at timestamp smaller
than
format: date-time
title: Created_at after before
type: string
x-stream-index: "003.010"
writeOnly: true
x-stream-index: "007"
- in: query
name: id_around
schema:
description: The result will be a set of messages, that are both older and
newer than the message with the provided ID, and the message with the
ID provided will be in the middle of the set
title: Id around
type: string
x-stream-index: "003.011"
- in: query
name: created_at_around
schema:
description: The result will be a set of messages, that are both older and
newer than the created_at timestamp provided, distributed evenly around
the timestamp
format: date-time
title: Created_at around
type: string
x-stream-index: "003.012"
writeOnly: true
x-stream-index: "008"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

Loading