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.

30 changes: 25 additions & 5 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10382,16 +10382,18 @@ components:
description: Defaults applied by the query channels endpoint.
properties:
limit:
description: Number of channels returned when `limit` is omitted.
description: Number of channels returned when `limit` is omitted. A request
asking for at most one message and one member per channel can return more,
up to the higher ceiling described on `max_limit`.
format: int32
title: Limit
type: integer
x-stream-index: "001"
max_limit:
description: Largest number of channels returned for one request. A bigger
`limit` is silently clamped to this value rather than rejected. An app
with no per-app override gets a higher ceiling for the narrow case of
a request asking for at most one message and one member per channel.
with no per-app `max_limit` gets a higher ceiling for the narrow case
of a request asking for at most one message and one member per channel.
format: int32
title: Max limit
type: integer
Expand Down Expand Up @@ -15457,12 +15459,18 @@ components:
title: Channel ID
type: string
x-stream-index: "001"
has_unread:
description: Whether the channel has messages newer than the user's last
read. Large channels have no unread_count and only report this.
title: Has unread
type: boolean
x-stream-index: "003"
last_read:
description: The date which the current user last read the channel.
format: date-time
title: Last read
type: string
x-stream-index: "003"
x-stream-index: "004"
unread_count:
description: The number of unread messages inside the channel.
format: int32
Expand All @@ -15472,6 +15480,7 @@ components:
required:
- channel_id
- unread_count
- has_unread
- last_read
type: object
UnreadCountsChannelType:
Expand Down Expand Up @@ -18166,7 +18175,7 @@ components:
type: apiKey
info:
title: Stream API
version: v239.87.1
version: v239.87.2
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -22544,6 +22553,17 @@ paths:
description: |
Fetch unread counts for a single user
operationId: UnreadCounts
parameters:
- in: query
name: include_large_channels
schema:
description: Also return channels too large to keep an unread count for.
They come back with unread_count 0 and has_unread true when they have
messages newer than the user's last read.
title: Include large channels
type: boolean
writeOnly: true
x-stream-index: "003"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

29 changes: 24 additions & 5 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15396,16 +15396,18 @@ components:
description: Defaults applied by the query channels endpoint.
properties:
limit:
description: Number of channels returned when `limit` is omitted.
description: Number of channels returned when `limit` is omitted. A request
asking for at most one message and one member per channel can return more,
up to the higher ceiling described on `max_limit`.
format: int32
title: Limit
type: integer
x-stream-index: "001"
max_limit:
description: Largest number of channels returned for one request. A bigger
`limit` is silently clamped to this value rather than rejected. An app
with no per-app override gets a higher ceiling for the narrow case of
a request asking for at most one message and one member per channel.
with no per-app `max_limit` gets a higher ceiling for the narrow case
of a request asking for at most one message and one member per channel.
format: int32
title: Max limit
type: integer
Expand Down Expand Up @@ -21470,12 +21472,18 @@ components:
title: Channel ID
type: string
x-stream-index: "001"
has_unread:
description: Whether the channel has messages newer than the user's last
read. Large channels have no unread_count and only report this.
title: Has unread
type: boolean
x-stream-index: "003"
last_read:
description: The date which the current user last read the channel.
format: date-time
title: Last read
type: string
x-stream-index: "003"
x-stream-index: "004"
unread_count:
description: The number of unread messages inside the channel.
format: int32
Expand All @@ -21485,6 +21493,7 @@ components:
required:
- channel_id
- unread_count
- has_unread
- last_read
type: object
UnreadCountsChannelType:
Expand Down Expand Up @@ -25685,7 +25694,7 @@ components:
type: apiKey
info:
title: Stream API
version: v239.87.1
version: v239.87.2
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -32998,6 +33007,16 @@ paths:
type: string
writeOnly: true
x-stream-index: "001.001"
- in: query
name: include_large_channels
schema:
description: Also return channels too large to keep an unread count for.
They come back with unread_count 0 and has_unread true when they have
messages newer than the user's last read.
title: Include large channels
type: boolean
writeOnly: true
x-stream-index: "003"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

30 changes: 25 additions & 5 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29315,16 +29315,18 @@ components:
description: Defaults applied by the query channels endpoint.
properties:
limit:
description: Number of channels returned when `limit` is omitted.
description: Number of channels returned when `limit` is omitted. A request
asking for at most one message and one member per channel can return more,
up to the higher ceiling described on `max_limit`.
format: int32
title: Limit
type: integer
x-stream-index: "001"
max_limit:
description: Largest number of channels returned for one request. A bigger
`limit` is silently clamped to this value rather than rejected. An app
with no per-app override gets a higher ceiling for the narrow case of
a request asking for at most one message and one member per channel.
with no per-app `max_limit` gets a higher ceiling for the narrow case
of a request asking for at most one message and one member per channel.
format: int32
title: Max limit
type: integer
Expand Down Expand Up @@ -39565,12 +39567,18 @@ components:
title: Channel ID
type: string
x-stream-index: "001"
has_unread:
description: Whether the channel has messages newer than the user's last
read. Large channels have no unread_count and only report this.
title: Has unread
type: boolean
x-stream-index: "003"
last_read:
description: The date which the current user last read the channel.
format: date-time
title: Last read
type: number
x-stream-index: "003"
x-stream-index: "004"
unread_count:
description: The number of unread messages inside the channel.
format: int32
Expand All @@ -39580,6 +39588,7 @@ components:
required:
- channel_id
- unread_count
- has_unread
- last_read
type: object
UnreadCountsChannelType:
Expand Down Expand Up @@ -44412,7 +44421,7 @@ components:
type: apiKey
info:
title: Stream API
version: v239.87.1
version: v239.87.2
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down Expand Up @@ -47802,6 +47811,17 @@ paths:
description: |
Fetch unread counts for a single user
operationId: UnreadCounts
parameters:
- in: query
name: include_large_channels
schema:
description: Also return channels too large to keep an unread count for.
They come back with unread_count 0 and has_unread true when they have
messages newer than the user's last read.
title: Include large channels
type: boolean
writeOnly: true
x-stream-index: "003"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9809,7 +9809,7 @@ components:
type: apiKey
info:
title: Stream API
version: v239.87.1
version: v239.87.2
openapi: 3.0.3
paths:
/api/v2/moderation/action_config:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7072,7 +7072,7 @@ components:
type: apiKey
info:
title: Stream API
version: v239.87.1
version: v239.87.2
openapi: 3.0.3
paths:
/api/v1/moderation/chat_message_tasks:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13710,7 +13710,7 @@ components:
type: apiKey
info:
title: Stream API
version: v239.87.1
version: v239.87.2
openapi: 3.0.3
paths:
/api/v2/moderation/action_config:
Expand Down
2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

Loading
Loading