Get a feed of posts from a specific community
Parameters
community
string
Required
Get community feed for specific community (DID, handle, name@origin, or bare local name)
cursor
string
Optional
No description available.
limit
integer
Optional
No description available.
sort
string
Optional
Sort order for community feed
timeframe
string
Optional
Timeframe for top sorting (only applies when sort=top)
Output
Encoding
application/jsoncursor
string
Optional
No description available.
feed
array
Required
No description available.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Get a feed of posts from a specific community",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"maxLength": 500,
"type": "string"
},
"feed": {
"items": {
"ref": "social.coves.feed.defs#feedViewPost",
"type": "ref"
},
"type": "array"
}
},
"required": [
"feed"
],
"type": "object"
}
},
"parameters": {
"properties": {
"community": {
"description": "Get community feed for specific community (DID, handle, name@origin, or bare local name)",
"maxLength": 320,
"type": "string"
},
"cursor": {
"maxLength": 500,
"type": "string"
},
"limit": {
"default": 15,
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"sort": {
"default": "hot",
"description": "Sort order for community feed",
"knownValues": [
"hot",
"top",
"new"
],
"maxLength": 64,
"type": "string"
},
"timeframe": {
"default": "day",
"description": "Timeframe for top sorting (only applies when sort=top)",
"knownValues": [
"hour",
"day",
"week",
"month",
"year",
"all"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"community"
],
"type": "params"
},
"type": "query"
}