Skip to content

Follower/following counts for a feed

GET
/v1/feeds/{group}/{id}/stats
curl --request GET \
--url http://localhost:3000/v1/feeds/example/example/stats \
--header 'Authorization: Bearer <token>'
group
required
string
id
required
string

Denormalized follower/following counts (spec §4).

Media typeapplication/json
object
follower_count
required
integer
following_count
required
integer
Examplegenerated
{
"follower_count": 1,
"following_count": 1
}

Invalid, expired, revoked, or absent token.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: VALIDATION_FAILED UNAUTHENTICATED FORBIDDEN NOT_FOUND CONFLICT RATE_LIMITED INTERNAL
message
required
string
requestId
required
string
fields

Present only for VALIDATION_FAILED.

Array<object>
object
path
string
message
string
Example
{
"error": {
"code": "VALIDATION_FAILED"
}
}