# 讨论详情

`GET` `/v1/content/topics/{id}`

根据讨论 ID 获取完整详情，包含正文（Markdown）、作者信息、关联标的与标签、互动数据及详情页链接。可在 [社区](https://longbridge.com/topics) 查看。

## Parameters

### Path Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | 讨论 ID，如 `6993508780031016960` |

## Request Example

```bash
curl --request GET \
  --url 'https://openapi.longbridge.com/v1/content/topics/<id>' \
  --header 'Authorization: Bearer <access_token>'
```

## Response

### Response Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `item` | object | Yes | 讨论详情 |
| `└ id` | string | Yes | 讨论 ID |
| `└ title` | string | No | 标题（短帖可能为空） |
| `└ description` | string | No | 纯文本摘要 |
| `└ body` | string | No | Markdown 格式正文 |
| `└ topic_type` | string | Yes | 内容类型，`article`（长文）或 `post`（短帖） |
| `└ tickers` | string[] | No | 关联标的代码，如 `["AAPL.US", "700.HK"]` |
| `└ hashtags` | string[] | No | 讨论标签名称列表 |
| `└ images` | object[] | No | 附图列表 |
| `└ ∟ url` | string | No | 原始图片 URL |
| `└ ∟ sm` | string | No | 小缩略图 URL |
| `└ ∟ lg` | string | No | 大缩略图 URL |
| `└ likes_count` | int32 | No | 点赞数 |
| `└ comments_count` | int32 | No | 回复数 |
| `└ views_count` | int32 | No | 浏览数 |
| `└ shares_count` | int32 | No | 分享数 |
| `└ detail_url` | string | No | 讨论详情页链接 |
| `└ author` | object | No | 作者信息 |
| `└ ∟ member_id` | string | No | 作者 member ID |
| `└ ∟ name` | string | No | 作者昵称 |
| `└ ∟ avatar` | string | No | 作者头像 URL |
| `└ created_at` | string | Yes | 创建时间，Unix 时间戳（秒） |
| `└ updated_at` | string | No | 最后更新时间，Unix 时间戳（秒） |

### Response JSON Example

```json
{
  "code": 0,
  "message": "success",
  "data": {
    "item": {
      "id": "6993508780031016960",
      "title": "My Analysis on AAPL",
      "description": "Brief plain-text summary...",
      "body": "**Bullish** on AAPL because...",
      "topic_type": "article",
      "tickers": [
        "AAPL.US"
      ],
      "hashtags": [
        "earnings"
      ],
      "images": [
        {
          "url": "https://cdn.longbridge.com/img/abc.jpg",
          "sm": "https://cdn.longbridge.com/img/abc_sm.jpg",
          "lg": "https://cdn.longbridge.com/img/abc_lg.jpg"
        }
      ],
      "likes_count": 42,
      "comments_count": 7,
      "views_count": 1500,
      "shares_count": 3,
      "detail_url": "https://longbridge.com/topics/6993508780031016960",
      "author": {
        "member_id": "10086",
        "name": "Jane Doe",
        "avatar": "https://example.com/avatar.jpg"
      },
      "created_at": "1742000000",
      "updated_at": "1742001000"
    }
  }
}
```
