Sendbird/listOpenChannels

暂不支持在线调用 · 原因见下方

SendbirdSendbird 聊天平台服务端 API v3

GET/v3/open_channels

获取开放频道列表

检索应用内开放频道的列表,可通过各种查询参数限定搜索范围并选择要返回的频道信息。

通过官方 Sendbird Chat Platform API v3 管理用户、群组频道、开放频道、消息、元数据、审核、机器人与公告。完整边界为固定官方生成 SDK revision 重建的 83 个 REST Endpoint;客户端实时协议与 Chat SDK 不在本集合内。应用数据为调用方私有内容,Pontx 不代理、缓存或聚合,调用方使用本地 SDK/CLI 直连。

请求

operationId
listOpenChannels
服务器
https://api-{app_id}.sendbird.com
认证
apiTokenAuth

请求参数

token

querystring

令牌

next_page_token_abc

channel_urls

querystring

channel urls 字段。

channel_urls_value

limit

querynumber

返回条数上限

1

custom_types

querystring

custom types 字段。

custom_types_value

name_contains

querystring

name contains 字段。

search_term

url_contains

querystring

url contains 字段。

search_term

show_frozen

queryboolean

show frozen 字段。

true

show_metadata

queryboolean

show metadata 字段。

true

响应

200

ListOpenChannelsResponseapplication/json

请求成功。

字段: channelsnextts

400

SendbirdApiErrorapplication/json

请求参数无效。

字段: codemessage

401

SendbirdApiErrorapplication/json

未认证或 API 令牌无效。

字段: codemessage

403

SendbirdApiErrorapplication/json

无权限访问该资源。

字段: codemessage

404

SendbirdApiErrorapplication/json

未找到指定资源。

字段: codemessage

429

SendbirdApiErrorapplication/json

请求频率超限,请稍后重试。

字段: codemessage

500

SendbirdApiErrorapplication/json

上游服务内部错误。

字段: codemessage

{
  "channels": [],
  "next": "next_page_token_abc",
  "ts": 1
}