---
title: "GET /get-topics-by-tab"
method: GET
path: "/get-topics-by-tab"
tags: ["Topic API"]
---

# GET /get-topics-by-tab

`GET /get-topics-by-tab`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/get-topics-by-tab`
- Auth: none declared

get topics by tab

## Query parameters

- `tab-id` string, required
- `limit` string, required
- `page` string, required

## Response `200`

The Response object

- ObjectTopicWithAvatar[]
  - `author` string
  - `avatar` string
  - `content` string
  - `createdTime` string
  - `downCount` integer
  - `editable` boolean
  - `editorType` string
  - `favoriteCount` integer
  - `hitCount` integer
  - `homePageTopTime` string
  - `hot` integer
  - `id` integer
  - `ip` string
  - `isHidden` boolean
  - `lastReplyTime` string
  - `lastReplyUser` string
  - `nodeId` string
  - `nodeModerator` boolean
  - `nodeName` string
  - `nodeTopTime` string
  - `replyCount` integer
  - `state` string
  - `tabId` string
  - `tabTopTime` string
  - `tags` string[]
  - `thanksStatus` boolean
  - `title` string
  - `upCount` integer
  - `urlPath` string

## Changes

- **2026-07-17** `c21c4387b897`: 2 info
  - api tag `Topic API` added
  - api tag `github.com/casbin/casnode/controllersApiController` removed
- **2021-06-17** `023a7e383f67`: 2 info
  - api tag `github.com/casbin/casnode/controllersApiController` added
  - api tag `Topic API` removed

[Operation history](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/changes/get-topics-by-tab/get.md)

---

[API](https://skmtc.dev/casdoor/apis/casdoor-casnode-api.md) - [All operations](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/revisions/96a96feb975e?raw)
