Channel List
POST
/channel/listSee creation interface for filters description
Request
Header Params
Content-Type
string
optional
Example:
application/json
Body Params application/json
p
integer
Page number, starts from 1
limit
integer
Items per page
asc
boolean
Ascending order
orderby
enum<string>
Sort by
Allowed values:
created_atranking
query
string
Search keyword
Search scope: channel name and description
team_id
integer
Team ID
Filter channels managed by this team
is_my_managed
boolean
My managed
Filter channels where I am the creator or a member of the management team
is_my_starred
boolean
My favorites
Filter channels in my personal favorites
is_my_team
boolean
My team's channels
Filter channels belonging to my teams
channel_ids
array[integer]
Channel ID list
Search by specified IDs
is_brief
boolean
Only return name and ID information
When this parameter is specified, the system will ignore p and limit parameters and return information for all channels
Example
{
"p": 0,
"limit": 0,
"asc": true,
"orderby": "created_at",
"query": "string",
"team_id": 0,
"is_my_managed": true,
"is_my_starred": true,
"is_my_team": true,
"channel_ids": [
0
],
"is_brief": true
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
object
optional
code
string
required
message
string
required
data
object
optional
items
array[object (Channel) {13}]
Channel entry
has_next_page
boolean
Has next page
total
integer
Total entries
Example
Not configured
Last modified: 2 个月前