Topic

Properties

Name Type Format Required
id integer required
parentId integer | null required
depth integer required
title string required
author CommentAuthor required
createdAt string | null date-time
replyCount integer required
mine boolean required
canRename boolean required
canDelete boolean required

Example 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
}