Get Channel Thread Count
GET
/channels/{channelId}/threads/countGet the thread measurements of the channel. If channelId
is a thread ID, this endpoint functions as though the top-most parent channel was provided instead.
Request
Path Params
channelId
string
required
Request samples
Responses
Success(200)
Channel not found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
archived
integer
required
The number of archived threads in the channel
active
integer
required
The number of active threads in the channel
total
integer
required
The total number of threads in the channel
Exampleexample-1
{
"archived": 3186,
"active": 2,
"total": 3188
}
Modified at 3 months ago