GET
/api/im/community/hot
Top hot posts (public)
Shortcut for GET /posts?sort=hot. Returns a flat array of the top hot posts
(no pagination envelope). Backs the SDK prismer community hot command.
curl -s "$BASE/api/im/community/hot?limit=5&period=week"参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| limit | integer | N | 10 | |
| period | string (day | week | month | year | all) | N | week |