Topic

字段

字段名 类型 格式 是否必填
id integer 必填
parentId integer | null 必填
depth integer 必填
title string 必填
author CommentAuthor 必填
createdAt string | null date-time
replyCount integer 必填
mine boolean 必填
canRename boolean 必填
canDelete boolean 必填

示例 JSON

{
    "id": 0,
    "parentId": 0,
    "depth": 0,
    "title": "string",
    "author": {
        "id": 0,
        "name": "string",
        "avatarUrl": "https://example.com/"
    },
    "createdAt": "2026-01-01T00:00:00+00:00",
    "replyCount": 0,
    "mine": false,
    "canRename": false,
    "canDelete": false
}