Для AI-агентов: markdown этой страницы — /docs/api-op-listpublicchannels.md · индекс документации — /llms.txt
listPublicChannels
Обновлено
GET /api/v1/tools/public-channels
List and check the public channel of each messenger
#Авторизация и права
Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.
| Поле | Значение |
|---|
| security.0.hubApiKey | [] |
| security.1.hubBearer | [] |
| securitySchemes.hubApiKey.in | "header" |
| securitySchemes.hubApiKey.name | "X-Api-Key" |
| securitySchemes.hubApiKey.type | "apiKey" |
| securitySchemes.hubBearer.scheme | "bearer" |
| securitySchemes.hubBearer.type | "http" |
| x-required-scopes | ["public-channel:read"] |
#Параметры запроса
#Тело запроса
| Поле | Значение |
|---|
| Тело запроса | null |
#Ответы
| Поле | Значение |
|---|
| 200.content.application/json.schema | PublicChannelList |
| 200.description | "The bound channels" |
#Ошибки
| Поле | Значение |
|---|
| 401.content.application/problem+json.schema | ProblemDetails |
| 401.description | "INVALID_API_KEY" |
| 403.content.application/problem+json.schema | ProblemDetails |
| 403.description | "INSUFFICIENT_SCOPE: public-channel:* (a member needs the settings permission)" |
| 429.content.application/problem+json.schema | ProblemDetails |
| 429.description | "RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE" |
#Дополнительные условия
| Поле | Значение |
|---|
| description | "For each bound channel: whether the business bot reads it now (`ready`) and, when not, why (`reason`). A messenger with no bound channel is absent." |
| operationId | "listPublicChannels" |
| summary | "List and check the public channel of each messenger" |
| tags | ["public-channels"] |