posts

get/api/posts/trending

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

pagenumber

Page number (1-indexed)

limitnumber

Results per page

Response

unknown required

Example response

{
  "success": true,
  "data": {
    "posts": [
      {
        "id": "post123",
        "title": "Linear Algebra Notes",
        "trendingScore": 42.5,
        "views": 150,
        "createdAt": "2026-03-19T12:00:00Z"
      }
    ],
    "total": 250,
    "page": 1,
    "limit": 20
  }
}

Changes

No recorded changes to this operation across all 50 revisions of this API.